Skip to content

Commit 47a4a0e

Browse files
sfrothwelldavem330
authored andcommitted
sparc: fixup for sparseirq changes
Signed-off-by: Stephen Rothwell <[email protected]> Signed-off-by: David S. Miller <[email protected]>
1 parent eeabac7 commit 47a4a0e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

arch/sparc/kernel/nmi.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ notrace __kprobes void perfctr_irq(int irq, struct pt_regs *regs)
9494
pt_regs_trap_type(regs), SIGINT) == NOTIFY_STOP)
9595
touched = 1;
9696

97-
sum = kstat_cpu(cpu).irqs[0];
97+
sum = kstat_irqs_cpu(0, cpu);
9898
if (__get_cpu_var(nmi_touch)) {
9999
__get_cpu_var(nmi_touch) = 0;
100100
touched = 1;

0 commit comments

Comments
 (0)