sparc: fixup for sparseirq changes
authorStephen Rothwell <sfr@canb.auug.org.au>
Tue, 3 Feb 2009 06:14:28 +0000 (22:14 -0800)
committerDavid S. Miller <davem@davemloft.net>
Tue, 3 Feb 2009 06:14:28 +0000 (22:14 -0800)
Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: David S. Miller <davem@davemloft.net>
arch/sparc/kernel/nmi.c

index ffc690093343f1887fc95e82e2c4b7a39b051910..09f088ed4a642d1bbbb278358af7f642307681cc 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;