Skip to content

Commit

Permalink
unexport do_mmap()
Browse files Browse the repository at this point in the history
Signed-off-by: Al Viro <[email protected]>
  • Loading branch information
Al Viro committed May 31, 2012
1 parent 4ad310b commit cf74d14
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
1 change: 0 additions & 1 deletion mm/mmap.c
Original file line number Diff line number Diff line change
Expand Up @@ -1118,7 +1118,6 @@ unsigned long do_mmap(struct file *file, unsigned long addr,
return -EINVAL;
return do_mmap_pgoff(file, addr, len, prot, flag, offset >> PAGE_SHIFT);
}
EXPORT_SYMBOL(do_mmap);

unsigned long vm_mmap(struct file *file, unsigned long addr,
unsigned long len, unsigned long prot,
Expand Down
1 change: 0 additions & 1 deletion mm/nommu.c
Original file line number Diff line number Diff line change
Expand Up @@ -1481,7 +1481,6 @@ unsigned long do_mmap(struct file *file, unsigned long addr,
return -EINVAL;
return do_mmap_pgoff(file, addr, len, prot, flag, offset >> PAGE_SHIFT);
}
EXPORT_SYMBOL(do_mmap);

unsigned long vm_mmap(struct file *file, unsigned long addr,
unsigned long len, unsigned long prot,
Expand Down

0 comments on commit cf74d14

Please sign in to comment.