提交 0beb6504 编写于 作者: M Marc Zyngier 提交者: Jason Cooper

irqchip: vt8500: Convert to handle_domain_irq

Use the new handle_domain_irq method to handle interrupts.
Signed-off-by: NMarc Zyngier <marc.zyngier@arm.com>
Link: https://lkml.kernel.org/r/1409047421-27649-17-git-send-email-marc.zyngier@arm.comSigned-off-by: NJason Cooper <jason@lakedaemon.net>
上级 0af83b3b
...@@ -181,7 +181,7 @@ static struct irq_domain_ops vt8500_irq_domain_ops = { ...@@ -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) static void __exception_irq_entry vt8500_handle_irq(struct pt_regs *regs)
{ {
u32 stat, i; u32 stat, i;
int irqnr, virq; int irqnr;
void __iomem *base; void __iomem *base;
/* Loop through each active controller */ /* Loop through each active controller */
...@@ -198,8 +198,7 @@ static void __exception_irq_entry vt8500_handle_irq(struct pt_regs *regs) ...@@ -198,8 +198,7 @@ static void __exception_irq_entry vt8500_handle_irq(struct pt_regs *regs)
continue; continue;
} }
virq = irq_find_mapping(intc[i].domain, irqnr); handle_domain_irq(intc[i].domain, irqnr, regs);
handle_IRQ(virq, regs);
} }
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册