Skip to content

Commit

Permalink
x86: we only have init_pg_tables_end for 32bit
Browse files Browse the repository at this point in the history
Signed-off-by: Yinghai Lu <yhlu.kernel@gmail.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
  • Loading branch information
Yinghai Lu authored and Ingo Molnar committed Jul 8, 2008
1 parent 29f784e commit 5092301
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions arch/x86/kernel/setup.c
Original file line number Diff line number Diff line change
Expand Up @@ -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..
*/
Expand All @@ -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,
Expand Down

0 comments on commit 5092301

Please sign in to comment.