diff options
author | Adrian Bunk <bunk@stusta.de> | 2007-10-16 12:26:03 +0400 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-10-16 20:43:01 +0400 |
commit | 484f51f820199ab3e0ef15d08f1b6be20f53bf39 (patch) | |
tree | eea15a3cb546463488595e7a5fae8628a5dd7877 /mm/page_alloc.c | |
parent | 467c996c1e1910633fa8e7adc9b052aa3ed5f97c (diff) | |
download | linux-484f51f820199ab3e0ef15d08f1b6be20f53bf39.tar.xz |
mm/page_alloc.c: make code static
This patch makes needlessly global code static.
Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'mm/page_alloc.c')
-rw-r--r-- | mm/page_alloc.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mm/page_alloc.c b/mm/page_alloc.c index 17797d062c3b..a8a53f879dfe 100644 --- a/mm/page_alloc.c +++ b/mm/page_alloc.c @@ -149,7 +149,7 @@ static unsigned long __meminitdata dma_reserve; static unsigned long __meminitdata node_boundary_end_pfn[MAX_NUMNODES]; #endif /* CONFIG_MEMORY_HOTPLUG_RESERVE */ unsigned long __initdata required_kernelcore; - unsigned long __initdata required_movablecore; + static unsigned long __initdata required_movablecore; unsigned long __meminitdata zone_movable_pfn[MAX_NUMNODES]; /* movable_zone is the "real" zone pages in ZONE_MOVABLE are taken from */ @@ -3644,7 +3644,7 @@ unsigned long __init find_max_pfn_with_active_regions(void) * Sum pages in active regions for movable zone. * Populate N_HIGH_MEMORY for calculating usable_nodes. */ -unsigned long __init early_calculate_totalpages(void) +static unsigned long __init early_calculate_totalpages(void) { int i; unsigned long totalpages = 0; |