x86-32, mm: Add an initial page table for core bootstrapping
commitb40827fa7268fda8a62490728a61c2856f33830b
authorBorislav Petkov <bp@alien8.de>
Sat, 28 Aug 2010 13:58:33 +0000 (28 15:58 +0200)
committerH. Peter Anvin <hpa@linux.intel.com>
Wed, 20 Oct 2010 21:23:55 +0000 (20 14:23 -0700)
treeae16ce8206c3d72ca672a92a46dc0725faba1ced
parentd25e6b0b326278a1096e8334584c3e64517057a3
x86-32, mm: Add an initial page table for core bootstrapping

This patch adds an initial page table with low mappings used exclusively
for booting APs/resuming after ACPI suspend/machine restart. After this,
there's no need to add low mappings to swapper_pg_dir and zap them later
or create own swsusp PGD page solely for ACPI sleep needs - we have
initial_page_table for that.

Signed-off-by: Borislav Petkov <bp@alien8.de>
LKML-Reference: <20101020070526.GA9588@liondog.tnic>
Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
arch/x86/include/asm/pgtable_32.h
arch/x86/include/asm/tlbflush.h
arch/x86/include/asm/trampoline.h
arch/x86/kernel/acpi/sleep.c
arch/x86/kernel/head32.c
arch/x86/kernel/head_32.S
arch/x86/kernel/reboot.c
arch/x86/kernel/setup.c
arch/x86/kernel/smpboot.c
arch/x86/kernel/trampoline.c
arch/x86/mm/init_32.c