diff options
Diffstat (limited to 'arch/x86/kernel/apic.c')
-rw-r--r-- | arch/x86/kernel/apic.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/arch/x86/kernel/apic.c b/arch/x86/kernel/apic.c index 570f36e44e59..648676f0b50a 100644 --- a/arch/x86/kernel/apic.c +++ b/arch/x86/kernel/apic.c | |||
@@ -868,6 +868,14 @@ void clear_local_APIC(void) | |||
868 | apic_write(APIC_LVTTHMR, v | APIC_LVT_MASKED); | 868 | apic_write(APIC_LVTTHMR, v | APIC_LVT_MASKED); |
869 | } | 869 | } |
870 | #endif | 870 | #endif |
871 | #ifdef CONFIG_X86_MCE_INTEL | ||
872 | if (maxlvt >= 6) { | ||
873 | v = apic_read(APIC_LVTCMCI); | ||
874 | if (!(v & APIC_LVT_MASKED)) | ||
875 | apic_write(APIC_LVTCMCI, v | APIC_LVT_MASKED); | ||
876 | } | ||
877 | #endif | ||
878 | |||
871 | /* | 879 | /* |
872 | * Clean APIC state for other OSs: | 880 | * Clean APIC state for other OSs: |
873 | */ | 881 | */ |