From: Adrian Bunk Date: Tue, 5 Feb 2008 06:29:09 +0000 (-0800) Subject: make __vmalloc_area_node() static X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=e31d9eb5c17ae3b80f9e9403f8a5eaf6dba879c9;p=linux-beck.git make __vmalloc_area_node() static __vmalloc_area_node() can become static. Signed-off-by: Adrian Bunk Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- diff --git a/mm/vmalloc.c b/mm/vmalloc.c index 83625b6fcc36..4efc41a6e2ab 100644 --- a/mm/vmalloc.c +++ b/mm/vmalloc.c @@ -463,8 +463,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;