unexport do_mmap()
authorAl Viro <viro@zeniv.linux.org.uk>
Wed, 30 May 2012 16:09:53 +0000 (12:09 -0400)
committerAl Viro <viro@zeniv.linux.org.uk>
Thu, 31 May 2012 01:04:57 +0000 (21:04 -0400)
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
mm/mmap.c
mm/nommu.c

index e8dcfc7de866e2b7c1a1dccd90eb4a9aff89161d..83c56624f1f66ab1c956977dffd81f37ad492c8d 100644 (file)
--- 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,
index bb8f4f004a82ce57abb0653a9a8ed72d533f5c45..de6084e3a04665f653b001be3fd02c6f630cdb9c 100644 (file)
@@ -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,