projects
/
linux-2.6-microblaze.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
e8dcfc7
..
83c5662
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
bb8f4f0
..
de6084e
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,