aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/kernel/apic_32.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/x86/kernel/apic_32.c')
-rw-r--r--arch/x86/kernel/apic_32.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/arch/x86/kernel/apic_32.c b/arch/x86/kernel/apic_32.c
index 16d9721788c1..3131603a4d6a 100644
--- a/arch/x86/kernel/apic_32.c
+++ b/arch/x86/kernel/apic_32.c
@@ -754,7 +754,7 @@ void clear_local_APIC(void)
754 } 754 }
755 755
756 /* lets not touch this if we didn't frob it */ 756 /* lets not touch this if we didn't frob it */
757#ifdef CONFIG_X86_MCE_P4THERMAL 757#if defined(CONFIG_X86_MCE_P4THERMAL) || defined(X86_MCE_INTEL)
758 if (maxlvt >= 5) { 758 if (maxlvt >= 5) {
759 v = apic_read(APIC_LVTTHMR); 759 v = apic_read(APIC_LVTTHMR);
760 apic_write(APIC_LVTTHMR, v | APIC_LVT_MASKED); 760 apic_write(APIC_LVTTHMR, v | APIC_LVT_MASKED);
@@ -771,10 +771,6 @@ void clear_local_APIC(void)
771 if (maxlvt >= 4) 771 if (maxlvt >= 4)
772 apic_write(APIC_LVTPC, APIC_LVT_MASKED); 772 apic_write(APIC_LVTPC, APIC_LVT_MASKED);
773 773
774#ifdef CONFIG_X86_MCE_P4THERMAL
775 if (maxlvt >= 5)
776 apic_write(APIC_LVTTHMR, APIC_LVT_MASKED);
777#endif
778 /* Integrated APIC (!82489DX) ? */ 774 /* Integrated APIC (!82489DX) ? */
779 if (lapic_is_integrated()) { 775 if (lapic_is_integrated()) {
780 if (maxlvt > 3) 776 if (maxlvt > 3)