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>
This commit is contained in:
Adrian Bunk 2007-10-16 01:26:03 -07:00 committed by Linus Torvalds
parent 467c996c1e
commit 484f51f820
1 changed files with 2 additions and 2 deletions

View File

@ -149,7 +149,7 @@ static unsigned long __meminitdata dma_reserve;
static unsigned long __meminitdata node_boundary_end_pfn[MAX_NUMNODES]; static unsigned long __meminitdata node_boundary_end_pfn[MAX_NUMNODES];
#endif /* CONFIG_MEMORY_HOTPLUG_RESERVE */ #endif /* CONFIG_MEMORY_HOTPLUG_RESERVE */
unsigned long __initdata required_kernelcore; unsigned long __initdata required_kernelcore;
unsigned long __initdata required_movablecore; static unsigned long __initdata required_movablecore;
unsigned long __meminitdata zone_movable_pfn[MAX_NUMNODES]; unsigned long __meminitdata zone_movable_pfn[MAX_NUMNODES];
/* movable_zone is the "real" zone pages in ZONE_MOVABLE are taken from */ /* 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. * Sum pages in active regions for movable zone.
* Populate N_HIGH_MEMORY for calculating usable_nodes. * 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; int i;
unsigned long totalpages = 0; unsigned long totalpages = 0;