aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/mm/init_32.c
diff options
context:
space:
mode:
authorYinghai Lu <yinghai@kernel.org>2012-11-16 22:39:09 -0500
committerH. Peter Anvin <hpa@linux.intel.com>2012-11-17 14:59:37 -0500
commitf836e35a98ab3b2f0d4c8730610e4a4a7f533505 (patch)
tree00dd9a7605beeddea1d33b7d93a9e19dfd91f7f6 /arch/x86/mm/init_32.c
parent148b20989e0b83cb301e1fcd9e987c7abde05333 (diff)
x86, mm: change low/hignmem_pfn_init to static on 32bit
Signed-off-by: Yinghai Lu <yinghai@kernel.org> Link: http://lkml.kernel.org/r/1353123563-3103-33-git-send-email-yinghai@kernel.org Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
Diffstat (limited to 'arch/x86/mm/init_32.c')
-rw-r--r--arch/x86/mm/init_32.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/x86/mm/init_32.c b/arch/x86/mm/init_32.c
index 0ae1ba8bc1b9..322ee56ea1fe 100644
--- a/arch/x86/mm/init_32.c
+++ b/arch/x86/mm/init_32.c
@@ -575,7 +575,7 @@ early_param("highmem", parse_highmem);
575 * artificially via the highmem=x boot parameter then create 575 * artificially via the highmem=x boot parameter then create
576 * it: 576 * it:
577 */ 577 */
578void __init lowmem_pfn_init(void) 578static void __init lowmem_pfn_init(void)
579{ 579{
580 /* max_low_pfn is 0, we already have early_res support */ 580 /* max_low_pfn is 0, we already have early_res support */
581 max_low_pfn = max_pfn; 581 max_low_pfn = max_pfn;
@@ -611,7 +611,7 @@ void __init lowmem_pfn_init(void)
611 * We have more RAM than fits into lowmem - we try to put it into 611 * We have more RAM than fits into lowmem - we try to put it into
612 * highmem, also taking the highmem=x boot parameter into account: 612 * highmem, also taking the highmem=x boot parameter into account:
613 */ 613 */
614void __init highmem_pfn_init(void) 614static void __init highmem_pfn_init(void)
615{ 615{
616 max_low_pfn = MAXMEM_PFN; 616 max_low_pfn = MAXMEM_PFN;
617 617