Commit e31d9eb5c17ae3b80f9e9403f8a5eaf6dba879c9
Committed by
Linus Torvalds
1 parent
625d9573d0
Exists in
master
and in
20 other branches
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>
Showing 1 changed file with 2 additions and 2 deletions Side-by-side Diff
mm/vmalloc.c
... | ... | @@ -463,8 +463,8 @@ |
463 | 463 | } |
464 | 464 | EXPORT_SYMBOL(vmap); |
465 | 465 | |
466 | -void *__vmalloc_area_node(struct vm_struct *area, gfp_t gfp_mask, | |
467 | - pgprot_t prot, int node) | |
466 | +static void *__vmalloc_area_node(struct vm_struct *area, gfp_t gfp_mask, | |
467 | + pgprot_t prot, int node) | |
468 | 468 | { |
469 | 469 | struct page **pages; |
470 | 470 | unsigned int nr_pages, array_size, i; |