|
@@ -353,7 +353,8 @@ __kprobes int nmi_watchdog_tick(struct pt_regs * regs, unsigned reason)
|
|
|
* Take the local apic timer and PIT/HPET into account. We don't
|
|
|
* know which one is active, when we have highres/dyntick on
|
|
|
*/
|
|
|
- sum = per_cpu(irq_stat, cpu).apic_timer_irqs + kstat_cpu(cpu).irqs[0];
|
|
|
+ sum = per_cpu(irq_stat, cpu).apic_timer_irqs +
|
|
|
+ per_cpu(irq_stat, cpu).irq0_irqs;
|
|
|
|
|
|
/* if the none of the timers isn't firing, this cpu isn't doing much */
|
|
|
if (!touched && last_irq_sums[cpu] == sum) {
|