aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/kernel/setup_64.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/x86/kernel/setup_64.c')
-rw-r--r--arch/x86/kernel/setup_64.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/x86/kernel/setup_64.c b/arch/x86/kernel/setup_64.c
index 89e6cca5d693..978a0d637f3f 100644
--- a/arch/x86/kernel/setup_64.c
+++ b/arch/x86/kernel/setup_64.c
@@ -56,6 +56,7 @@
56#include <asm/desc.h> 56#include <asm/desc.h>
57#include <video/edid.h> 57#include <video/edid.h>
58#include <asm/e820.h> 58#include <asm/e820.h>
59#include <asm/mpspec.h>
59#include <asm/dma.h> 60#include <asm/dma.h>
60#include <asm/gart.h> 61#include <asm/gart.h>
61#include <asm/mpspec.h> 62#include <asm/mpspec.h>
@@ -381,6 +382,9 @@ void __init setup_arch(char **cmdline_p)
381 * we are rounding upwards: 382 * we are rounding upwards:
382 */ 383 */
383 end_pfn = e820_end_of_ram(); 384 end_pfn = e820_end_of_ram();
385
386 /* pre allocte 4k for mptable mpc */
387 early_reserve_e820_mpc_new();
384 /* update e820 for memory not covered by WB MTRRs */ 388 /* update e820 for memory not covered by WB MTRRs */
385 mtrr_bp_init(); 389 mtrr_bp_init();
386 if (mtrr_trim_uncached_memory(end_pfn)) { 390 if (mtrr_trim_uncached_memory(end_pfn)) {