Skip to content

Commit 54dac95

Browse files
Leonid YegoshinMarkos Chandras
authored andcommitted
MIPS: kernel: cevt-r4k: Add MIPS R6 to the c0_compare_interrupt handler
Just like MIPS R2, in MIPS R6 it is possible to determine if a timer interrupt has happened or not. Signed-off-by: Leonid Yegoshin <[email protected]> Signed-off-by: Markos Chandras <[email protected]>
1 parent 180b1e3 commit 54dac95

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

arch/mips/kernel/cevt-r4k.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ int cp0_timer_irq_installed;
3939

4040
irqreturn_t c0_compare_interrupt(int irq, void *dev_id)
4141
{
42-
const int r2 = cpu_has_mips_r2;
42+
const int r2 = cpu_has_mips_r2_r6;
4343
struct clock_event_device *cd;
4444
int cpu = smp_processor_id();
4545

0 commit comments

Comments
 (0)