public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [2.6 patch] make __vmalloc_area_node() static
@ 2007-11-03  0:03 Adrian Bunk
  0 siblings, 0 replies; only message in thread
From: Adrian Bunk @ 2007-11-03  0:03 UTC (permalink / raw)
  To: linux-kernel

__vmalloc_area_node() can become static.

Signed-off-by: Adrian Bunk <bunk@kernel.org>

---
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;


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2007-11-03  0:19 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-11-03  0:03 [2.6 patch] make __vmalloc_area_node() static Adrian Bunk

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox