summaryrefslogtreecommitdiff
path: root/mm/vmalloc.c
diff options
context:
space:
mode:
authorAdrian Bunk <bunk@kernel.org>2008-02-04 22:29:09 -0800
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2008-02-05 09:44:17 -0800
commite31d9eb5c17ae3b80f9e9403f8a5eaf6dba879c9 (patch)
tree8cd63d594e618938d14a77169792ddee3995edf4 /mm/vmalloc.c
parent625d9573d0f905146efd15169a35ea9c5a841198 (diff)
downloadlinux-3.10-e31d9eb5c17ae3b80f9e9403f8a5eaf6dba879c9.tar.gz
linux-3.10-e31d9eb5c17ae3b80f9e9403f8a5eaf6dba879c9.tar.bz2
linux-3.10-e31d9eb5c17ae3b80f9e9403f8a5eaf6dba879c9.zip
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>
Diffstat (limited to 'mm/vmalloc.c')
-rw-r--r--mm/vmalloc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/mm/vmalloc.c b/mm/vmalloc.c
index 83625b6fcc3..4efc41a6e2a 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;