diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2012-05-30 12:09:53 -0400 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2012-05-30 21:04:57 -0400 |
commit | cf74d14c4fbce9bcc9eb62f52d721d3399a2b87f (patch) | |
tree | f436aaf0045039f015c0290cbbde5ab0e8d09c22 | |
parent | 4ad310b836d5c61ac6e9b5fd7db12d0cd57136d7 (diff) |
unexport do_mmap()
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
-rw-r--r-- | mm/mmap.c | 1 | ||||
-rw-r--r-- | mm/nommu.c | 1 |
2 files changed, 0 insertions, 2 deletions
@@ -1118,7 +1118,6 @@ unsigned long do_mmap(struct file *file, unsigned long addr, | |||
1118 | return -EINVAL; | 1118 | return -EINVAL; |
1119 | return do_mmap_pgoff(file, addr, len, prot, flag, offset >> PAGE_SHIFT); | 1119 | return do_mmap_pgoff(file, addr, len, prot, flag, offset >> PAGE_SHIFT); |
1120 | } | 1120 | } |
1121 | EXPORT_SYMBOL(do_mmap); | ||
1122 | 1121 | ||
1123 | unsigned long vm_mmap(struct file *file, unsigned long addr, | 1122 | unsigned long vm_mmap(struct file *file, unsigned long addr, |
1124 | unsigned long len, unsigned long prot, | 1123 | unsigned long len, unsigned long prot, |
diff --git a/mm/nommu.c b/mm/nommu.c index bb8f4f004a82..de6084e3a046 100644 --- a/mm/nommu.c +++ b/mm/nommu.c | |||
@@ -1481,7 +1481,6 @@ unsigned long do_mmap(struct file *file, unsigned long addr, | |||
1481 | return -EINVAL; | 1481 | return -EINVAL; |
1482 | return do_mmap_pgoff(file, addr, len, prot, flag, offset >> PAGE_SHIFT); | 1482 | return do_mmap_pgoff(file, addr, len, prot, flag, offset >> PAGE_SHIFT); |
1483 | } | 1483 | } |
1484 | EXPORT_SYMBOL(do_mmap); | ||
1485 | 1484 | ||
1486 | unsigned long vm_mmap(struct file *file, unsigned long addr, | 1485 | unsigned long vm_mmap(struct file *file, unsigned long addr, |
1487 | unsigned long len, unsigned long prot, | 1486 | unsigned long len, unsigned long prot, |