diff mbox

irqchip: hip04: Convert to handle_domain_irq

Message ID 1413882576-18922-1-git-send-email-marc.zyngier@arm.com
State Accepted
Commit 3fe149276c8dcdc1335cb27dd7cc9726c6bc59fa
Headers show

Commit Message

Marc Zyngier Oct. 21, 2014, 9:09 a.m. UTC
The HIP04 GIC-like irqchip escaped the conversion to handle_domain_irq.
Let's give it the treatment it deserves.

Cc: Haojian Zhuang <haojian.zhuang@linaro.org>
Cc: Jason Cooper <jason@lakedaemon.net>
Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
---
 drivers/irqchip/irq-hip04.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

Comments

Jason Cooper Nov. 2, 2014, 1:59 a.m. UTC | #1
On Tue, Oct 21, 2014 at 10:09:36AM +0100, Marc Zyngier wrote:
> The HIP04 GIC-like irqchip escaped the conversion to handle_domain_irq.
> Let's give it the treatment it deserves.
> 
> Cc: Haojian Zhuang <haojian.zhuang@linaro.org>
> Cc: Jason Cooper <jason@lakedaemon.net>
> Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
> ---
>  drivers/irqchip/irq-hip04.c | 3 +--
>  1 file changed, 1 insertion(+), 2 deletions(-)

Applied to irqchip/core

thx,

Jason.
diff mbox

Patch

diff --git a/drivers/irqchip/irq-hip04.c b/drivers/irqchip/irq-hip04.c
index 9c8f8335..29b8f21 100644
--- a/drivers/irqchip/irq-hip04.c
+++ b/drivers/irqchip/irq-hip04.c
@@ -176,8 +176,7 @@  static void __exception_irq_entry hip04_handle_irq(struct pt_regs *regs)
 		irqnr = irqstat & GICC_IAR_INT_ID_MASK;
 
 		if (likely(irqnr > 15 && irqnr <= HIP04_MAX_IRQS)) {
-			irqnr = irq_find_mapping(hip04_data.domain, irqnr);
-			handle_IRQ(irqnr, regs);
+			handle_domain_irq(hip04_data.domain, irqnr, regs);
 			continue;
 		}
 		if (irqnr < 16) {