22 lines
638 B
Diff
22 lines
638 B
Diff
diff --git a/arch/x86/kernel/cpu/microcode/core.c b/arch/x86/kernel/cpu/microcode/core.c
|
|
index dd9d6190b08d..181e42bd85d3 100644
|
|
--- a/arch/x86/kernel/cpu/microcode/core.c
|
|
+++ b/arch/x86/kernel/cpu/microcode/core.c
|
|
@@ -85,6 +85,7 @@
|
|
#include <linux/syscore_ops.h>
|
|
|
|
#include <asm/microcode.h>
|
|
+#include <asm/microcode_intel.h>
|
|
#include <asm/processor.h>
|
|
#include <asm/cpu_device_id.h>
|
|
#include <asm/perf_event.h>
|
|
@@ -465,6 +466,8 @@ static void mc_bp_resume(void)
|
|
|
|
if (uci->valid && uci->mc)
|
|
microcode_ops->apply_microcode(cpu);
|
|
+ else if (!uci->mc)
|
|
+ load_ucode_intel_ap();
|
|
}
|
|
|
|
static struct syscore_ops mc_syscore_ops = {
|