diff options
author | Raghu Gandham <Raghu.Gandham@imgtec.com> | 2013-04-10 17:30:12 -0400 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2013-05-09 11:55:21 -0400 |
commit | 0ab2b7d08ea7226dc72ff0f8c05f470566facf7c (patch) | |
tree | 7b791c6907a47733b1256da5e20600d182b36d40 /arch/mips/mti-malta | |
parent | 2675fa7c7b46842f82b2766b5abe80e16ce32977 (diff) |
MIPS: Add new GIC clockevent driver.
Add new clockevent driver that uses the counter present on the MIPS
Global Interrupt Controller.
Signed-off-by: Raghu Gandham <Raghu.Gandham@imgtec.com>
Signed-off-by: Steven J. Hill <Steven.Hill@imgtec.com>
Diffstat (limited to 'arch/mips/mti-malta')
-rw-r--r-- | arch/mips/mti-malta/malta-int.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/mips/mti-malta/malta-int.c b/arch/mips/mti-malta/malta-int.c index 8e840c20629e..0a1339ac3ec8 100644 --- a/arch/mips/mti-malta/malta-int.c +++ b/arch/mips/mti-malta/malta-int.c | |||
@@ -133,6 +133,9 @@ static void malta_ipi_irqdispatch(void) | |||
133 | { | 133 | { |
134 | int irq; | 134 | int irq; |
135 | 135 | ||
136 | if (gic_compare_int()) | ||
137 | do_IRQ(MIPS_GIC_IRQ_BASE); | ||
138 | |||
136 | irq = gic_get_int(); | 139 | irq = gic_get_int(); |
137 | if (irq < 0) | 140 | if (irq < 0) |
138 | return; /* interrupt has already been cleared */ | 141 | return; /* interrupt has already been cleared */ |