Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 178774
b: refs/heads/master
c: 8183e2b
h: refs/heads/master
v: v3
  • Loading branch information
David S. Miller committed Jan 4, 2010
1 parent 37bae89 commit f938817
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 5958eed76ccc8c361f872829bdc4b8c6dc9cd379
refs/heads/master: 8183e2b38480672a1f61d416812ac078ce94b67b
3 changes: 2 additions & 1 deletion trunk/arch/sparc/kernel/nmi.c
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,6 @@ notrace __kprobes void perfctr_irq(int irq, struct pt_regs *regs)
int cpu = smp_processor_id();

clear_softint(1 << irq);
pcr_ops->write(PCR_PIC_PRIV);

local_cpu_data().__nmi_count++;

Expand All @@ -105,6 +104,8 @@ notrace __kprobes void perfctr_irq(int irq, struct pt_regs *regs)
if (notify_die(DIE_NMI, "nmi", regs, 0,
pt_regs_trap_type(regs), SIGINT) == NOTIFY_STOP)
touched = 1;
else
pcr_ops->write(PCR_PIC_PRIV);

sum = kstat_irqs_cpu(0, cpu);
if (__get_cpu_var(nmi_touch)) {
Expand Down

0 comments on commit f938817

Please sign in to comment.