From: Yinghai Lu Date: Mon, 9 Jun 2008 02:53:26 +0000 (-0700) Subject: x86: update mptable, fix X-Git-Tag: v2.6.27-rc1~1106^2~247^2~31 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=6780711e9817585f89b02b0556aac3564cbe1f45;p=linux-2.6-omap-h63xx.git x86: update mptable, fix need to call early_reserve_e820() to preallocate mptable for 32bit Signed-off-by: Yinghai Lu Signed-off-by: Ingo Molnar --- diff --git a/arch/x86/kernel/setup_32.c b/arch/x86/kernel/setup_32.c index be1a9900367..4fa9f6c4542 100644 --- a/arch/x86/kernel/setup_32.c +++ b/arch/x86/kernel/setup_32.c @@ -749,6 +749,8 @@ void __init setup_arch(char **cmdline_p) */ max_pfn = e820_end_of_ram(); + /* preallocate 4k for mptable mpc */ + early_reserve_e820_mpc_new(); /* update e820 for memory not covered by WB MTRRs */ mtrr_bp_init(); if (mtrr_trim_uncached_memory(max_pfn)) {