From: Yinghai Lu Date: Thu, 26 Jun 2008 01:02:06 +0000 (-0700) Subject: x86: we only have init_pg_tables_end for 32bit X-Git-Tag: v2.6.27-rc1~1106^2~146 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=5092301c7250d7459b79fe40dae43eca3b518e92;p=linux-2.6-omap-h63xx.git x86: we only have init_pg_tables_end for 32bit Signed-off-by: Yinghai Lu Signed-off-by: Ingo Molnar --- diff --git a/arch/x86/kernel/setup.c b/arch/x86/kernel/setup.c index 35022dc1042..f2e314b5b5f 100644 --- a/arch/x86/kernel/setup.c +++ b/arch/x86/kernel/setup.c @@ -124,12 +124,6 @@ struct boot_params __initdata boot_params; struct boot_params boot_params; #endif -/* This value is set up by the early boot code to point to the value - immediately after the boot time page tables. It contains a *physical* - address, and must not be in the .bss segment! */ -unsigned long init_pg_tables_start __initdata = ~0UL; -unsigned long init_pg_tables_end __initdata = ~0UL; - /* * Machine setup.. */ @@ -156,6 +150,12 @@ static struct resource bss_resource = { #ifdef CONFIG_X86_32 +/* This value is set up by the early boot code to point to the value + immediately after the boot time page tables. It contains a *physical* + address, and must not be in the .bss segment! */ +unsigned long init_pg_tables_start __initdata = ~0UL; +unsigned long init_pg_tables_end __initdata = ~0UL; + static struct resource video_ram_resource = { .name = "Video RAM area", .start = 0xa0000,