diff options
Diffstat (limited to 'arch/x86/kernel/apic/apic.c')
-rw-r--r-- | arch/x86/kernel/apic/apic.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/x86/kernel/apic/apic.c b/arch/x86/kernel/apic/apic.c index 481ae38f6a44..ad28db7e6bde 100644 --- a/arch/x86/kernel/apic/apic.c +++ b/arch/x86/kernel/apic/apic.c | |||
@@ -1996,7 +1996,8 @@ static inline void __smp_error_interrupt(struct pt_regs *regs) | |||
1996 | }; | 1996 | }; |
1997 | 1997 | ||
1998 | /* First tickle the hardware, only then report what went on. -- REW */ | 1998 | /* First tickle the hardware, only then report what went on. -- REW */ |
1999 | apic_write(APIC_ESR, 0); | 1999 | if (lapic_get_maxlvt() > 3) /* Due to the Pentium erratum 3AP. */ |
2000 | apic_write(APIC_ESR, 0); | ||
2000 | v = apic_read(APIC_ESR); | 2001 | v = apic_read(APIC_ESR); |
2001 | ack_APIC_irq(); | 2002 | ack_APIC_irq(); |
2002 | atomic_inc(&irq_err_count); | 2003 | atomic_inc(&irq_err_count); |