Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 312113
b: refs/heads/master
c: c6a4ebb
h: refs/heads/master
i:
  312111: 8037370
v: v3
  • Loading branch information
Ralf Baechle committed Jul 6, 2012
1 parent d60de33 commit 56a4db8
Show file tree
Hide file tree
Showing 3 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: b876c1a0bcfe68a5eaf03f325cb2a09822bf11f2
refs/heads/master: c6a4ebb9ae30ead7684bce623955f74b17df496d
1 change: 1 addition & 0 deletions trunk/arch/mips/include/asm/irq.h
Original file line number Diff line number Diff line change
Expand Up @@ -136,6 +136,7 @@ extern void free_irqno(unsigned int irq);
* IE7. Since R2 their number has to be read from the c0_intctl register.
*/
#define CP0_LEGACY_COMPARE_IRQ 7
#define CP0_LEGACY_PERFCNT_IRQ 7

extern int cp0_compare_irq;
extern int cp0_compare_irq_shift;
Expand Down
2 changes: 1 addition & 1 deletion trunk/arch/mips/kernel/traps.c
Original file line number Diff line number Diff line change
Expand Up @@ -1597,7 +1597,7 @@ void __cpuinit per_cpu_trap_init(bool is_boot_cpu)
cp0_perfcount_irq = -1;
} else {
cp0_compare_irq = CP0_LEGACY_COMPARE_IRQ;
cp0_compare_irq_shift = cp0_compare_irq;
cp0_compare_irq_shift = CP0_LEGACY_PERFCNT_IRQ;
cp0_perfcount_irq = -1;
}

Expand Down

0 comments on commit 56a4db8

Please sign in to comment.