diff options
author | Stephen Rothwell <sfr@canb.auug.org.au> | 2009-02-03 01:14:28 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-02-03 01:14:28 -0500 |
commit | 47a4a0e766e3152dee667ea8fcca8465c8a0759f (patch) | |
tree | 2d4a2c0351d5aa56b6d5a14a149e3aee36e8ec79 /arch/sparc/kernel/nmi.c | |
parent | eeabac7386ca13bfe1a58afeb04326a9e1a3a20e (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/kernel/nmi.c')
-rw-r--r-- | arch/sparc/kernel/nmi.c | 2 |
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) | |||
94 | pt_regs_trap_type(regs), SIGINT) == NOTIFY_STOP) | 94 | pt_regs_trap_type(regs), SIGINT) == NOTIFY_STOP) |
95 | touched = 1; | 95 | touched = 1; |
96 | 96 | ||
97 | sum = kstat_cpu(cpu).irqs[0]; | 97 | sum = kstat_irqs_cpu(0, cpu); |
98 | if (__get_cpu_var(nmi_touch)) { | 98 | if (__get_cpu_var(nmi_touch)) { |
99 | __get_cpu_var(nmi_touch) = 0; | 99 | __get_cpu_var(nmi_touch) = 0; |
100 | touched = 1; | 100 | touched = 1; |