Skip to contentSkip to conversation

Make __vunmap static

PATCH New Benjamin Herrenschmidt 1 participant 1 message May 14, 2007

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 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

 mm/vmalloc.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
mm/vmalloc.c +1 -1
Index: linux-cell/mm/vmalloc.c
===================================================================
@@ -311,7 +311,7 @@ struct vm_struct *remove_vm_area(void *a
 	return v;
 }
 
-void __vunmap(void *addr, int deallocate_pages)
+static void __vunmap(void *addr, int deallocate_pages)
 {
 	struct vm_struct *area;