diff options
Diffstat (limited to 'arch/x86_64/kernel/mce_intel.c')
-rw-r--r-- | arch/x86_64/kernel/mce_intel.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/x86_64/kernel/mce_intel.c b/arch/x86_64/kernel/mce_intel.c index 0be0a7959814..3ef845e8d3b0 100644 --- a/arch/x86_64/kernel/mce_intel.c +++ b/arch/x86_64/kernel/mce_intel.c | |||
@@ -10,6 +10,7 @@ | |||
10 | #include <asm/msr.h> | 10 | #include <asm/msr.h> |
11 | #include <asm/mce.h> | 11 | #include <asm/mce.h> |
12 | #include <asm/hw_irq.h> | 12 | #include <asm/hw_irq.h> |
13 | #include <asm/idle.h> | ||
13 | 14 | ||
14 | static DEFINE_PER_CPU(unsigned long, next_check); | 15 | static DEFINE_PER_CPU(unsigned long, next_check); |
15 | 16 | ||
@@ -19,6 +20,7 @@ asmlinkage void smp_thermal_interrupt(void) | |||
19 | 20 | ||
20 | ack_APIC_irq(); | 21 | ack_APIC_irq(); |
21 | 22 | ||
23 | exit_idle(); | ||
22 | irq_enter(); | 24 | irq_enter(); |
23 | if (time_before(jiffies, __get_cpu_var(next_check))) | 25 | if (time_before(jiffies, __get_cpu_var(next_check))) |
24 | goto done; | 26 | goto done; |