Messages in this thread Patch in this message | | | From | Andi Kleen <> | Subject | [PATCH] [10/10] x86: MCE: Fix ifdef for 64bit thermal apic vector clear on shutdown | Date | Thu, 12 Feb 2009 13:37:29 +0100 (CET) |
| |
Impact: Bugfix
The ifdef for the apic clear on shutdown for the 64bit intel thermal vector was incorrect and never triggered. Fix that.
Signed-off-by: Andi Kleen <ak@linux.intel.com>
--- arch/x86/kernel/apic.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
Index: linux/arch/x86/kernel/apic.c =================================================================== --- linux.orig/arch/x86/kernel/apic.c 2009-02-12 11:30:48.000000000 +0100 +++ linux/arch/x86/kernel/apic.c 2009-02-12 12:10:16.000000000 +0100 @@ -862,7 +862,7 @@ } /* lets not touch this if we didn't frob it */ -#if defined(CONFIG_X86_MCE_P4THERMAL) || defined(X86_MCE_INTEL) +#if defined(CONFIG_X86_MCE_P4THERMAL) || defined(CONFIG_X86_MCE_INTEL) if (maxlvt >= 5) { v = apic_read(APIC_LVTTHMR); apic_write(APIC_LVTTHMR, v | APIC_LVT_MASKED);
| |