|
@@ -94,7 +94,7 @@ notrace __kprobes void perfctr_irq(int irq, struct pt_regs *regs)
|
|
pt_regs_trap_type(regs), SIGINT) == NOTIFY_STOP)
|
|
pt_regs_trap_type(regs), SIGINT) == NOTIFY_STOP)
|
|
touched = 1;
|
|
touched = 1;
|
|
|
|
|
|
- sum = kstat_cpu(cpu).irqs[0];
|
|
|
|
|
|
+ sum = kstat_irqs_cpu(0, cpu);
|
|
if (__get_cpu_var(nmi_touch)) {
|
|
if (__get_cpu_var(nmi_touch)) {
|
|
__get_cpu_var(nmi_touch) = 0;
|
|
__get_cpu_var(nmi_touch) = 0;
|
|
touched = 1;
|
|
touched = 1;
|