summaryrefslogtreecommitdiffstats
path: root/arch/sparc
diff options
context:
space:
mode:
authorStephen Rothwell <sfr@canb.auug.org.au>2009-02-02 22:14:28 -0800
committerDavid S. Miller <davem@davemloft.net>2009-02-02 22:14:28 -0800
commit47a4a0e766e3152dee667ea8fcca8465c8a0759f (patch)
tree2d4a2c0351d5aa56b6d5a14a149e3aee36e8ec79 /arch/sparc
parenteeabac7386ca13bfe1a58afeb04326a9e1a3a20e (diff)
sparc: fixup for sparseirq changes
Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'arch/sparc')
-rw-r--r--arch/sparc/kernel/nmi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/sparc/kernel/nmi.c b/arch/sparc/kernel/nmi.c
index ffc69009334..09f088ed4a6 100644
--- a/arch/sparc/kernel/nmi.c
+++ b/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)
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;