From cf74d14c4fbce9bcc9eb62f52d721d3399a2b87f Mon Sep 17 00:00:00 2001 From: Al Viro Date: Wed, 30 May 2012 12:09:53 -0400 Subject: [PATCH] unexport do_mmap() Signed-off-by: Al Viro --- mm/mmap.c | 1 - mm/nommu.c | 1 - 2 files changed, 2 deletions(-) diff --git a/mm/mmap.c b/mm/mmap.c index e8dcfc7de866..83c56624f1f6 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 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, 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, -- 2.20.1