aboutsummaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
Diffstat (limited to 'arch')
-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)
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;