summaryrefslogtreecommitdiff
path: root/mm
diff options
context:
space:
mode:
authorRolf Eike Beer <eike-kernel@sf-tec.de>2006-09-27 01:50:13 -0700
committerLinus Torvalds <torvalds@g5.osdl.org>2006-09-27 08:26:13 -0700
commitd24afc57d51b1be41f95521e81399061fa5875a6 (patch)
tree325d8cd04919980d7d51e82d44dcfd9a4521e3f5 /mm
parentead04089b138ed669658f80fafbe11fc7d97740b (diff)
downloadlwn-d24afc57d51b1be41f95521e81399061fa5875a6.tar.gz
lwn-d24afc57d51b1be41f95521e81399061fa5875a6.zip
[PATCH] Mark __remove_vm_area() static
The function is exported but not used from anywhere else. It's also marked as "not for driver use" so noone out there should really care. Signed-off-by: Rolf Eike Beer <eike-kernel@sf-tec.de> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'mm')
-rw-r--r--mm/vmalloc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mm/vmalloc.c b/mm/vmalloc.c
index 659ec634856a..1ac191ce5641 100644
--- a/mm/vmalloc.c
+++ b/mm/vmalloc.c
@@ -272,7 +272,7 @@ static struct vm_struct *__find_vm_area(void *addr)
}
/* Caller must hold vmlist_lock */
-struct vm_struct *__remove_vm_area(void *addr)
+static struct vm_struct *__remove_vm_area(void *addr)
{
struct vm_struct **p, *tmp;