diff options
author | Stephen Rothwell <sfr@canb.auug.org.au> | 2009-02-03 07:14:28 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-02-03 07:14:28 +0100 |
commit | 47a4a0e766e3152dee667ea8fcca8465c8a0759f (patch) | |
tree | 2d4a2c0351d5aa56b6d5a14a149e3aee36e8ec79 /arch/sparc/kernel/nmi.c | |
parent | sparc64: Validate kernel generated fault addresses on sparc64. (diff) | |
download | linux-47a4a0e766e3152dee667ea8fcca8465c8a0759f.tar.xz linux-47a4a0e766e3152dee667ea8fcca8465c8a0759f.zip |
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) 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; |