aboutsummaryrefslogtreecommitdiffstats
path: root/arch/m68knommu
diff options
context:
space:
mode:
authorThomas Gleixner <tglx@linutronix.de>2011-02-06 18:39:14 -0500
committerGreg Ungerer <gerg@uclinux.org>2011-03-15 07:01:52 -0400
commite6988f2f53ef0a686909702358e21ee0c62bfbca (patch)
tree5ff38b61892b40a209da4567aad25985c0e1836d /arch/m68knommu
parent521cb40b0c44418a4fd36dc633f575813d59a43d (diff)
m68knommu: 5772: Replace private irq flow handler
That handler lacks the minimal checks for action being zero etc. Keep the weird flow - ack before handling - intact and call into handle_simple_irq which does the right thing. Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Acked-by: Greg Ungerer <gerg@uclinux.org> LKML-Reference: <20110202212552.413849952@linutronix.de> Signed-off-by: Greg Ungerer <gerg@uclinux.org>
Diffstat (limited to 'arch/m68knommu')
-rw-r--r--arch/m68knommu/platform/5272/intc.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/arch/m68knommu/platform/5272/intc.c b/arch/m68knommu/platform/5272/intc.c
index 3cf681c177aa..2833909abfe8 100644
--- a/arch/m68knommu/platform/5272/intc.c
+++ b/arch/m68knommu/platform/5272/intc.c
@@ -137,11 +137,8 @@ static int intc_irq_set_type(unsigned int irq, unsigned int type)
137 */ 137 */
138static void intc_external_irq(unsigned int irq, struct irq_desc *desc) 138static void intc_external_irq(unsigned int irq, struct irq_desc *desc)
139{ 139{
140 kstat_incr_irqs_this_cpu(irq, desc);
141 desc->status |= IRQ_INPROGRESS;
142 desc->chip->ack(irq); 140 desc->chip->ack(irq);
143 handle_IRQ_event(irq, desc->action); 141 handle_simple_irq(irq, desc);
144 desc->status &= ~IRQ_INPROGRESS;
145} 142}
146 143
147static struct irq_chip intc_irq_chip = { 144static struct irq_chip intc_irq_chip = {