irqchip: vt8500: Convert to handle_domain_irq
authorMarc Zyngier <marc.zyngier@arm.com>
Tue, 26 Aug 2014 10:03:31 +0000 (11:03 +0100)
committerJason Cooper <jason@lakedaemon.net>
Wed, 3 Sep 2014 13:10:46 +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-17-git-send-email-marc.zyngier@arm.com
Signed-off-by: Jason Cooper <jason@lakedaemon.net>
drivers/irqchip/irq-vt8500.c

index eb6e91efdec8bca0babc0d098e9e11aa7b66f257..b7af816f276933c914c89e91e8f3305d47bb0e48 100644 (file)
@@ -181,7 +181,7 @@ static struct irq_domain_ops vt8500_irq_domain_ops = {
 static void __exception_irq_entry vt8500_handle_irq(struct pt_regs *regs)
 {
        u32 stat, i;
-       int irqnr, virq;
+       int irqnr;
        void __iomem *base;
 
        /* Loop through each active controller */
@@ -198,8 +198,7 @@ static void __exception_irq_entry vt8500_handle_irq(struct pt_regs *regs)
                                continue;
                }
 
-               virq = irq_find_mapping(intc[i].domain, irqnr);
-               handle_IRQ(virq, regs);
+               handle_domain_irq(intc[i].domain, irqnr, regs);
        }
 }