From: Peter Oruba Date: Wed, 24 Sep 2008 09:50:35 +0000 (+0200) Subject: x86: microcode patch loader bugfix X-Git-Tag: v2.6.28-rc1~699^2^4~1 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=82b078659ed04e1ecdebf8326e189cf76ed361af;p=linux-2.6-omap-h63xx.git x86: microcode patch loader bugfix Corrected CPU vendor check condition for AMD microcode patch loader initialization. Signed-off-by: Peter Oruba Signed-off-by: Ingo Molnar --- diff --git a/arch/x86/kernel/microcode_core.c b/arch/x86/kernel/microcode_core.c index ff031dbccdf..8db2eb55e9e 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) 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) {