aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/kernel/setup_32.c
diff options
context:
space:
mode:
authorYinghai Lu <yhlu.kernel@gmail.com>2008-06-08 22:53:26 -0400
committerIngo Molnar <mingo@elte.hu>2008-06-10 05:35:04 -0400
commit6780711e9817585f89b02b0556aac3564cbe1f45 (patch)
tree26d93333d366b0a9dec9632dbbf4a71da9c230d7 /arch/x86/kernel/setup_32.c
parentd49c4288407b2ffa8cab270cb5bc6882abe969f6 (diff)
x86: update mptable, fix
need to call early_reserve_e820() to preallocate mptable 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/setup_32.c')
-rw-r--r--arch/x86/kernel/setup_32.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/x86/kernel/setup_32.c b/arch/x86/kernel/setup_32.c
index be1a99003677..4fa9f6c4542b 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)
749 */ 749 */
750 max_pfn = e820_end_of_ram(); 750 max_pfn = e820_end_of_ram();
751 751
752 /* preallocate 4k for mptable mpc */
753 early_reserve_e820_mpc_new();
752 /* update e820 for memory not covered by WB MTRRs */ 754 /* update e820 for memory not covered by WB MTRRs */
753 mtrr_bp_init(); 755 mtrr_bp_init();
754 if (mtrr_trim_uncached_memory(max_pfn)) { 756 if (mtrr_trim_uncached_memory(max_pfn)) {