sparc: fixup for sparseirq changes
[pandora-kernel.git] / arch / sparc / kernel / nmi.c
index ffc6900..09f088e 100644 (file)
@@ -94,7 +94,7 @@ notrace __kprobes void perfctr_irq(int irq, struct pt_regs *regs)
                       pt_regs_trap_type(regs), SIGINT) == NOTIFY_STOP)
                touched = 1;
 
-       sum = kstat_cpu(cpu).irqs[0];
+       sum = kstat_irqs_cpu(0, cpu);
        if (__get_cpu_var(nmi_touch)) {
                __get_cpu_var(nmi_touch) = 0;
                touched = 1;