projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4ad310b
)
unexport do_mmap()
author
Al Viro
<viro@zeniv.linux.org.uk>
Wed, 30 May 2012 16:09:53 +0000
(12:09 -0400)
committer
Al 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
patch
|
blob
|
history
mm/nommu.c
patch
|
blob
|
history
diff --git
a/mm/mmap.c
b/mm/mmap.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,
diff --git
a/mm/nommu.c
b/mm/nommu.c
index bb8f4f004a82ce57abb0653a9a8ed72d533f5c45..de6084e3a04665f653b001be3fd02c6f630cdb9c 100644
(file)
--- 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,