Skip to content

Commit

Permalink
x86: microcode patch loader bugfix
Browse files Browse the repository at this point in the history
Corrected CPU vendor check condition for AMD microcode patch loader
initialization.

Signed-off-by: Peter Oruba <peter.oruba@amd.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
  • Loading branch information
Peter Oruba authored and Ingo Molnar committed Sep 24, 2008
1 parent 2f9284e commit 82b0786
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arch/x86/kernel/microcode_core.c
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit 82b0786

Please sign in to comment.