Commit 82b07865 authored by Peter Oruba's avatar Peter Oruba Committed by Ingo Molnar

x86: microcode patch loader bugfix

Corrected CPU vendor check condition for AMD microcode patch loader
initialization.
Signed-off-by: default avatarPeter Oruba <peter.oruba@amd.com>
Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
parent 2f9284e4
......@@ -450,7 +450,7 @@ static int __init microcode_init(void)
if (c->x86_vendor == X86_VENDOR_INTEL)
microcode_ops = init_intel_microcode();
else if (c->x86_vendor != X86_VENDOR_AMD)
else if (c->x86_vendor == X86_VENDOR_AMD)
microcode_ops = init_amd_microcode();
if (!microcode_ops) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment