diff options
author | Adrian Bunk <bunk@kernel.org> | 2008-02-05 07:29:09 +0100 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2008-02-05 18:44:17 +0100 |
commit | e31d9eb5c17ae3b80f9e9403f8a5eaf6dba879c9 (patch) | |
tree | 8cd63d594e618938d14a77169792ddee3995edf4 /mm/vmalloc.c | |
parent | Remove unused code from mm/tiny-shmem.c (diff) | |
download | linux-e31d9eb5c17ae3b80f9e9403f8a5eaf6dba879c9.tar.xz linux-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.c | 4 |
1 files changed, 2 insertions, 2 deletions
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; |