aboutsummaryrefslogtreecommitdiffstats
path: root/arch/sparc/kernel/nmi.c
diff options
context:
space:
mode:
authorTejun Heo <tj@kernel.org>2010-02-02 00:38:15 -0500
committerTejun Heo <tj@kernel.org>2010-02-02 00:38:15 -0500
commitab386128f20c44c458a90039ab1bdc265ac474c9 (patch)
tree2ad188744922b1bb951fd10ff50dc04c83acce22 /arch/sparc/kernel/nmi.c
parentdbfc196a3cc1a2514ad0737a82f764de23bd65e6 (diff)
parentab658321f32770b903a4426e2a6fae0392757755 (diff)
Merge branch 'master' into percpu
Diffstat (limited to 'arch/sparc/kernel/nmi.c')
-rw-r--r--arch/sparc/kernel/nmi.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/sparc/kernel/nmi.c b/arch/sparc/kernel/nmi.c
index 9b9f5b4e2994..b287b62c7ea3 100644
--- a/arch/sparc/kernel/nmi.c
+++ b/arch/sparc/kernel/nmi.c
@@ -95,7 +95,6 @@ notrace __kprobes void perfctr_irq(int irq, struct pt_regs *regs)
95 int cpu = smp_processor_id(); 95 int cpu = smp_processor_id();
96 96
97 clear_softint(1 << irq); 97 clear_softint(1 << irq);
98 pcr_ops->write(PCR_PIC_PRIV);
99 98
100 local_cpu_data().__nmi_count++; 99 local_cpu_data().__nmi_count++;
101 100
@@ -104,6 +103,8 @@ notrace __kprobes void perfctr_irq(int irq, struct pt_regs *regs)
104 if (notify_die(DIE_NMI, "nmi", regs, 0, 103 if (notify_die(DIE_NMI, "nmi", regs, 0,
105 pt_regs_trap_type(regs), SIGINT) == NOTIFY_STOP) 104 pt_regs_trap_type(regs), SIGINT) == NOTIFY_STOP)
106 touched = 1; 105 touched = 1;
106 else
107 pcr_ops->write(PCR_PIC_PRIV);
107 108
108 sum = kstat_irqs_cpu(0, cpu); 109 sum = kstat_irqs_cpu(0, cpu);
109 if (__get_cpu_var(nmi_touch)) { 110 if (__get_cpu_var(nmi_touch)) {