Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 58231
b: refs/heads/master
c: c3e838a
h: refs/heads/master
i:
  58229: d564d64
  58227: 2cfe19b
  58223: 3b3e2bb
v: v3
  • Loading branch information
Chris Dearman authored and Ralf Baechle committed Jul 6, 2007
1 parent 65a87b8 commit eda5ae2
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 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: 6fb88ce04f545ca7da15a7b447783bb7a4615511
refs/heads/master: c3e838a2cbb0f14af4d718160933523ac4c37adf
8 changes: 4 additions & 4 deletions trunk/arch/mips/kernel/traps.c
Original file line number Diff line number Diff line change
Expand Up @@ -1372,12 +1372,12 @@ void __init per_cpu_trap_init(void)
*/
if (cpu_has_mips_r2) {
cp0_compare_irq = (read_c0_intctl () >> 29) & 7;
cp0_perfcount_irq = -1;
} else {
cp0_compare_irq = CP0_LEGACY_COMPARE_IRQ;
cp0_perfcount_irq = (read_c0_intctl () >> 26) & 7;
if (cp0_perfcount_irq != cp0_compare_irq)
if (cp0_perfcount_irq == cp0_compare_irq)
cp0_perfcount_irq = -1;
} else {
cp0_compare_irq = CP0_LEGACY_COMPARE_IRQ;
cp0_perfcount_irq = -1;
}

#ifdef CONFIG_MIPS_MT_SMTC
Expand Down

0 comments on commit eda5ae2

Please sign in to comment.