Skip to contentSkip to conversation

make __vmalloc_area_node() static

PATCH New Adrian Bunk 1 participant 1 message Nov 3, 2007

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

PATCH 1/1 make __vmalloc_area_node() static

__vmalloc_area_node() can become static.

---
b3249772621c0e8a7210f5a4d451ceaf73d28984

mm/vmalloc.c +2 -2
index af77e17..8c6c0dd 100644
@@ -423,8 +423,8 @@ void *vmap(struct page **pages, unsigned int count,
 }
 EXPORT_SYMBOL(vmap);
 
-void *__vmalloc_area_node(struct vm_struct *area, gfp_t gfp_mask,
-				pgprot_t prot, int node)
+static void *__vmalloc_area_node(struct vm_struct *area, gfp_t gfp_mask,
+				 pgprot_t prot, int node)
 {
 	struct page **pages;
 	unsigned int nr_pages, array_size, i;