summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2012-05-30 12:09:53 -0400
committerAl Viro <viro@zeniv.linux.org.uk>2012-05-30 21:04:57 -0400
commitcf74d14c4fbce9bcc9eb62f52d721d3399a2b87f (patch)
treef436aaf0045039f015c0290cbbde5ab0e8d09c22
parent4ad310b836d5c61ac6e9b5fd7db12d0cd57136d7 (diff)
downloadop-kernel-dev-cf74d14c4fbce9bcc9eb62f52d721d3399a2b87f.zip
op-kernel-dev-cf74d14c4fbce9bcc9eb62f52d721d3399a2b87f.tar.gz
unexport do_mmap()
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
-rw-r--r--mm/mmap.c1
-rw-r--r--mm/nommu.c1
2 files changed, 0 insertions, 2 deletions
diff --git a/mm/mmap.c b/mm/mmap.c
index e8dcfc7..83c5662 100644
--- a/mm/mmap.c
+++ b/mm/mmap.c
@@ -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,
diff --git a/mm/nommu.c b/mm/nommu.c
index bb8f4f0..de6084e 100644
--- a/mm/nommu.c
+++ b/mm/nommu.c
@@ -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,
OpenPOWER on IntegriCloud