diff options
Diffstat (limited to 'arch/x86_64/kernel/smpboot.c')
-rw-r--r-- | arch/x86_64/kernel/smpboot.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/arch/x86_64/kernel/smpboot.c b/arch/x86_64/kernel/smpboot.c index 14724be48bec..ddc392bee243 100644 --- a/arch/x86_64/kernel/smpboot.c +++ b/arch/x86_64/kernel/smpboot.c | |||
@@ -944,6 +944,12 @@ int __cpuinit __cpu_up(unsigned int cpu) | |||
944 | return -ENOSYS; | 944 | return -ENOSYS; |
945 | } | 945 | } |
946 | 946 | ||
947 | /* | ||
948 | * Save current MTRR state in case it was changed since early boot | ||
949 | * (e.g. by the ACPI SMI) to initialize new CPUs with MTRRs in sync: | ||
950 | */ | ||
951 | mtrr_save_state(); | ||
952 | |||
947 | per_cpu(cpu_state, cpu) = CPU_UP_PREPARE; | 953 | per_cpu(cpu_state, cpu) = CPU_UP_PREPARE; |
948 | /* Boot it! */ | 954 | /* Boot it! */ |
949 | err = do_boot_cpu(cpu, apicid); | 955 | err = do_boot_cpu(cpu, apicid); |