[2.6 patch] make __vmalloc_area_node() static

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



__vmalloc_area_node() can become static.

Signed-off-by: Adrian Bunk <[email protected]>

---
b3249772621c0e8a7210f5a4d451ceaf73d28984 
diff --git a/mm/vmalloc.c b/mm/vmalloc.c
index af77e17..8c6c0dd 100644
--- a/mm/vmalloc.c
+++ b/mm/vmalloc.c
@@ -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;

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux