diff options
| -rw-r--r-- | arch/x86/kernel/cpu/mcheck/threshold.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/x86/kernel/cpu/mcheck/threshold.c b/arch/x86/kernel/cpu/mcheck/threshold.c index 4319142413d7..e4b8a3833fc5 100644 --- a/arch/x86/kernel/cpu/mcheck/threshold.c +++ b/arch/x86/kernel/cpu/mcheck/threshold.c | |||
| @@ -15,10 +15,11 @@ void (*mce_threshold_vector)(void) = default_threshold_interrupt; | |||
| 15 | 15 | ||
| 16 | asmlinkage void mce_threshold_interrupt(void) | 16 | asmlinkage void mce_threshold_interrupt(void) |
| 17 | { | 17 | { |
| 18 | ack_APIC_irq(); | ||
| 19 | exit_idle(); | 18 | exit_idle(); |
| 20 | irq_enter(); | 19 | irq_enter(); |
| 21 | inc_irq_stat(irq_threshold_count); | 20 | inc_irq_stat(irq_threshold_count); |
| 22 | mce_threshold_vector(); | 21 | mce_threshold_vector(); |
| 23 | irq_exit(); | 22 | irq_exit(); |
| 23 | /* Ack only at the end to avoid potential reentry */ | ||
| 24 | ack_APIC_irq(); | ||
| 24 | } | 25 | } |
