summaryrefslogtreecommitdiffstats
path: root/mm/vmalloc.c
diff options
context:
space:
mode:
authorBenjamin Herrenschmidt <benh@kernel.crashing.org>2007-05-17 07:11:07 +0200
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2007-05-17 14:23:04 +0200
commitd55e2ca87321b65387d3c52dd38128b3fe6723b0 (patch)
tree72cbca581660fc0cf0ff1c0d9ccbb264b20cffe4 /mm/vmalloc.c
parenti386/x86-64: fix section mismatch (diff)
downloadlinux-d55e2ca87321b65387d3c52dd38128b3fe6723b0.tar.xz
linux-d55e2ca87321b65387d3c52dd38128b3fe6723b0.zip
Make __vunmap static
__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>
Diffstat (limited to '')
-rw-r--r--mm/vmalloc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mm/vmalloc.c b/mm/vmalloc.c
index faa2a521dea3..d3a9c5368257 100644
--- 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;