[<prev] [next>] [day] [month] [year] [list]
Message-ID: <20071103000358.GB4594@stusta.de>
Date: Sat, 3 Nov 2007 01:03:58 +0100
From: Adrian Bunk <bunk@...nel.org>
To: linux-kernel@...r.kernel.org
Subject: [2.6 patch] make __vmalloc_area_node() static
__vmalloc_area_node() can become static.
Signed-off-by: Adrian Bunk <bunk@...nel.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;
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists