Browse Source

sparc: fixup for sparseirq changes

Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: David S. Miller <davem@davemloft.net>
Stephen Rothwell 16 years ago
parent
commit
47a4a0e766
1 changed files with 1 additions and 1 deletions
  1. 1 1
      arch/sparc/kernel/nmi.c

+ 1 - 1
arch/sparc/kernel/nmi.c

@@ -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;