diff options
author | Peter Oruba <peter.oruba@amd.com> | 2008-09-24 05:50:35 -0400 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-09-24 05:02:01 -0400 |
commit | 82b078659ed04e1ecdebf8326e189cf76ed361af (patch) | |
tree | 88f91ec0cbea8fb888a3155f8624549cfedcd314 | |
parent | 2f9284e4e3be7b0b4d8d0638f9805603069a762d (diff) |
x86: microcode patch loader bugfix
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>
-rw-r--r-- | arch/x86/kernel/microcode_core.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/kernel/microcode_core.c b/arch/x86/kernel/microcode_core.c index ff031dbccdf6..8db2eb55e9e2 100644 --- a/arch/x86/kernel/microcode_core.c +++ b/arch/x86/kernel/microcode_core.c | |||
@@ -450,7 +450,7 @@ static int __init microcode_init(void) | |||
450 | 450 | ||
451 | if (c->x86_vendor == X86_VENDOR_INTEL) | 451 | if (c->x86_vendor == X86_VENDOR_INTEL) |
452 | microcode_ops = init_intel_microcode(); | 452 | microcode_ops = init_intel_microcode(); |
453 | else if (c->x86_vendor != X86_VENDOR_AMD) | 453 | else if (c->x86_vendor == X86_VENDOR_AMD) |
454 | microcode_ops = init_amd_microcode(); | 454 | microcode_ops = init_amd_microcode(); |
455 | 455 | ||
456 | if (!microcode_ops) { | 456 | if (!microcode_ops) { |