summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBenjamin Herrenschmidt <benh@kernel.crashing.org>2007-05-16 22:11:07 -0700
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2007-05-17 05:23:04 -0700
commitd55e2ca87321b65387d3c52dd38128b3fe6723b0 (patch)
tree72cbca581660fc0cf0ff1c0d9ccbb264b20cffe4
parentdf652fe173c12d29960f3a8eafce29041e86b942 (diff)
downloadlinux-3.10-d55e2ca87321b65387d3c52dd38128b3fe6723b0.tar.gz
linux-3.10-d55e2ca87321b65387d3c52dd38128b3fe6723b0.tar.bz2
linux-3.10-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>
-rw-r--r--mm/vmalloc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mm/vmalloc.c b/mm/vmalloc.c
index faa2a521dea..d3a9c536825 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;