Mark __remove_vm_area() static
Subsystems (2)
PATCH 1/1 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 <[email protected]>
---
commit 1d88bdc56807cccf598d8b92fb98ddf03f3a42db
tree 72c6525b019b9102c14778141ed1f236d7ebe331
parent 8322f0cb8a117fe42e993d48f5ae0fbc006f8ef0
author Rolf Eike Beer <[email protected]> Tue, 26 Sep 2006 11:41:42 +0200 committer Rolf Eike Beer <[email protected]> Tue, 26 Sep 2006 11:41:42 +0200
include/linux/vmalloc.h | 1 - mm/vmalloc.c | 2 +- 2 files changed, 1 insertions(+), 2 deletions(-)
include/linux/vmalloc.h +0 -1
@@ -64,7 +64,6 @@ extern struct vm_struct *__get_vm_area(uextern struct vm_struct *get_vm_area_node (unsigned long size,unsigned long flags,int node);extern struct vm_struct *remove_vm_area (void *addr); -extern struct vm_struct *__remove_vm_area (void *addr);extern int map_vm_area (struct vm_struct *area,pgprot_t prot,struct page ***pages);extern void unmap_vm_area (struct vm_struct *area);
mm/vmalloc.c +1 -1
@@ -269,7 +269,7 @@ static struct vm_struct *__find_vm_area( }/* 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;
--
To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to [email protected]. For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"[email protected]"> [email protected] </a>