make __vmalloc_area_node() static

Previous thread: maps4: add /proc/kpagecount interface by Linux Kernel Mailing List on Tuesday, February 5, 2008 - 1:01 pm. (1 message)

Next thread: arch_rebalance_pgtables call by Linux Kernel Mailing List on Tuesday, February 5, 2008 - 1:02 pm. (1 message)
From: Linux Kernel Mailing List
Date: Tuesday, February 5, 2008 - 1:01 pm

Gitweb:     http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=e31d9e...
Commit:     e31d9eb5c17ae3b80f9e9403f8a5eaf6dba879c9
Parent:     625d9573d0f905146efd15169a35ea9c5a841198
Author:     Adrian Bunk <bunk@kernel.org>
AuthorDate: Mon Feb 4 22:29:09 2008 -0800
Committer:  Linus Torvalds <torvalds@woody.linux-foundation.org>
CommitDate: Tue Feb 5 09:44:17 2008 -0800

    make __vmalloc_area_node() static
    
    __vmalloc_area_node() can become static.
    
    Signed-off-by: Adrian Bunk <bunk@kernel.org>
    Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
    Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
---
 mm/vmalloc.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/mm/vmalloc.c b/mm/vmalloc.c
index 83625b6..4efc41a 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;
-

Previous thread: maps4: add /proc/kpagecount interface by Linux Kernel Mailing List on Tuesday, February 5, 2008 - 1:01 pm. (1 message)

Next thread: arch_rebalance_pgtables call by Linux Kernel Mailing List on Tuesday, February 5, 2008 - 1:02 pm. (1 message)