diff options
author | Leonid Yegoshin <Leonid.Yegoshin@imgtec.com> | 2014-11-13 08:39:39 -0500 |
---|---|---|
committer | Markos Chandras <markos.chandras@imgtec.com> | 2015-02-17 10:37:25 -0500 |
commit | 54dac95083828e56ed1dee846c2e631f72361f86 (patch) | |
tree | c5826df0a7627f6a6f4f7a19a8fa001b1c003ce2 /arch | |
parent | 180b1e3bfe3cd99225a901c00daba0327265118e (diff) |
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 <Leonid.Yegoshin@imgtec.com>
Signed-off-by: Markos Chandras <markos.chandras@imgtec.com>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/mips/kernel/cevt-r4k.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/mips/kernel/cevt-r4k.c b/arch/mips/kernel/cevt-r4k.c index 28bfdf2c59a5..82bd2b278a24 100644 --- a/arch/mips/kernel/cevt-r4k.c +++ b/arch/mips/kernel/cevt-r4k.c | |||
@@ -39,7 +39,7 @@ int cp0_timer_irq_installed; | |||
39 | 39 | ||
40 | irqreturn_t c0_compare_interrupt(int irq, void *dev_id) | 40 | irqreturn_t c0_compare_interrupt(int irq, void *dev_id) |
41 | { | 41 | { |
42 | const int r2 = cpu_has_mips_r2; | 42 | const int r2 = cpu_has_mips_r2_r6; |
43 | struct clock_event_device *cd; | 43 | struct clock_event_device *cd; |
44 | int cpu = smp_processor_id(); | 44 | int cpu = smp_processor_id(); |
45 | 45 | ||