Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 38282
b: refs/heads/master
c: d599def
h: refs/heads/master
v: v3
  • Loading branch information
Maciej W. Rozycki authored and Ralf Baechle committed Oct 3, 2006
1 parent 9813362 commit 5294702
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 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: af8b128719f5248e542036ea994610a29d0642a6
refs/heads/master: d599def5cd81439e7da04dc6754b257043f5e584
7 changes: 5 additions & 2 deletions trunk/arch/mips/sibyte/sb1250/irq.c
Original file line number Diff line number Diff line change
Expand Up @@ -442,7 +442,7 @@ asmlinkage void plat_irq_dispatch(struct pt_regs *regs)
* blasting the high 32 bits.
*/

pending = read_c0_cause();
pending = read_c0_cause() & read_c0_status();

#ifdef CONFIG_SIBYTE_SB1250_PROF
if (pending & CAUSEF_IP7) /* Cpu performance counter interrupt */
Expand Down Expand Up @@ -476,5 +476,8 @@ asmlinkage void plat_irq_dispatch(struct pt_regs *regs)
R_IMR_INTERRUPT_STATUS_BASE)));
if (mask)
do_IRQ(fls64(mask) - 1, regs);
}
else
spurious_interrupt(regs);
} else
spurious_interrupt(regs);
}

0 comments on commit 5294702

Please sign in to comment.