summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStephen Rothwell <sfr@canb.auug.org.au>2009-02-02 20:00:15 +1100
committerStephen Rothwell <sfr@canb.auug.org.au>2009-02-03 17:06:37 +1100
commit9c76ba8adf972060661c6da4c1a4f6d7cbb69fbe (patch)
tree4739d655cc7bafc967ebe4a4ddf7c752c047647e
parentf4aa5dc4d3a745fe8fec4b14cb6263d695542c4a (diff)
sparc: fixup for sparseirq changes
Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
-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 ffc690093343..09f088ed4a64 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;