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:
df652fe
)
Make __vunmap static
author
Benjamin Herrenschmidt
<benh@kernel.crashing.org>
Thu, 17 May 2007 05:11:07 +0000
(22:11 -0700)
committer
Linus Torvalds
<torvalds@woody.linux-foundation.org>
Thu, 17 May 2007 12:23:04 +0000
(
05:23
-0700)
__vunmap doesn't seem to be used outside of mm/vmalloc.c, and has
no prototype in any header so let's make it static
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
mm/vmalloc.c
patch
|
blob
|
history
diff --git
a/mm/vmalloc.c
b/mm/vmalloc.c
index faa2a521dea321f6b8a2b19d1b3ac4b2ad245044..d3a9c5368257afd6243c81c26881b25f67ff65f4 100644
(file)
--- a/
mm/vmalloc.c
+++ b/
mm/vmalloc.c
@@
-311,7
+311,7
@@
struct vm_struct *remove_vm_area(void *addr)
return v;
}
-void __vunmap(void *addr, int deallocate_pages)
+
static
void __vunmap(void *addr, int deallocate_pages)
{
struct vm_struct *area;