diff options
author | Yinghai Lu <yhlu.kernel@gmail.com> | 2008-06-25 21:02:06 -0400 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-07-08 07:10:55 -0400 |
commit | 5092301c7250d7459b79fe40dae43eca3b518e92 (patch) | |
tree | 86f5a6b565a42f92f36ce269ab36a62f4308a029 /arch/x86/kernel | |
parent | 29f784e369a914b5926e01a0b0caae0b47f6452a (diff) |
x86: we only have init_pg_tables_end for 32bit
Signed-off-by: Yinghai Lu <yhlu.kernel@gmail.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'arch/x86/kernel')
-rw-r--r-- | arch/x86/kernel/setup.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/arch/x86/kernel/setup.c b/arch/x86/kernel/setup.c index 35022dc10428..f2e314b5b5fa 100644 --- a/arch/x86/kernel/setup.c +++ b/arch/x86/kernel/setup.c | |||
@@ -124,12 +124,6 @@ struct boot_params __initdata boot_params; | |||
124 | struct boot_params boot_params; | 124 | struct boot_params boot_params; |
125 | #endif | 125 | #endif |
126 | 126 | ||
127 | /* This value is set up by the early boot code to point to the value | ||
128 | immediately after the boot time page tables. It contains a *physical* | ||
129 | address, and must not be in the .bss segment! */ | ||
130 | unsigned long init_pg_tables_start __initdata = ~0UL; | ||
131 | unsigned long init_pg_tables_end __initdata = ~0UL; | ||
132 | |||
133 | /* | 127 | /* |
134 | * Machine setup.. | 128 | * Machine setup.. |
135 | */ | 129 | */ |
@@ -156,6 +150,12 @@ static struct resource bss_resource = { | |||
156 | 150 | ||
157 | 151 | ||
158 | #ifdef CONFIG_X86_32 | 152 | #ifdef CONFIG_X86_32 |
153 | /* This value is set up by the early boot code to point to the value | ||
154 | immediately after the boot time page tables. It contains a *physical* | ||
155 | address, and must not be in the .bss segment! */ | ||
156 | unsigned long init_pg_tables_start __initdata = ~0UL; | ||
157 | unsigned long init_pg_tables_end __initdata = ~0UL; | ||
158 | |||
159 | static struct resource video_ram_resource = { | 159 | static struct resource video_ram_resource = { |
160 | .name = "Video RAM area", | 160 | .name = "Video RAM area", |
161 | .start = 0xa0000, | 161 | .start = 0xa0000, |