]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
x86: microcode patch loader bugfix
authorPeter Oruba <peter.oruba@amd.com>
Wed, 24 Sep 2008 09:50:35 +0000 (11:50 +0200)
committerIngo Molnar <mingo@elte.hu>
Wed, 24 Sep 2008 09:02:01 +0000 (11:02 +0200)
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>
arch/x86/kernel/microcode_core.c

index ff031dbccdf634bd1f3891aab0d10b013fd672b1..8db2eb55e9e2f225776c875e4171e7f7ee3ef164 100644 (file)
@@ -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) {