irqchip: orion: Convert to handle_domain_irq
authorMarc Zyngier <marc.zyngier@arm.com>
Tue, 26 Aug 2014 10:03:25 +0000 (11:03 +0100)
committerJason Cooper <jason@lakedaemon.net>
Wed, 3 Sep 2014 13:10:37 +0000 (13:10 +0000)
Use the new handle_domain_irq method to handle interrupts.

Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
Link: https://lkml.kernel.org/r/1409047421-27649-11-git-send-email-marc.zyngier@arm.com
Signed-off-by: Jason Cooper <jason@lakedaemon.net>
drivers/irqchip/irq-orion.c

index 34d18b48bb78fe11d130f2dcd10304b261ed98eb..ad0c0f6f1d65ac6b4cf7d8db80f635cf698a9875 100644 (file)
@@ -43,9 +43,8 @@ __exception_irq_entry orion_handle_irq(struct pt_regs *regs)
                        gc->mask_cache;
                while (stat) {
                        u32 hwirq = __fls(stat);
-                       u32 irq = irq_find_mapping(orion_irq_domain,
-                                                  gc->irq_base + hwirq);
-                       handle_IRQ(irq, regs);
+                       handle_domain_irq(orion_irq_domain,
+                                         gc->irq_base + hwirq, regs);
                        stat &= ~(1 << hwirq);
                }
        }