[irqchip: irq/irqchip-next] irqchip/nvic: Convert from handle_IRQ() to handle_domain_irq()

From: irqchip-bot for Marc Zyngier
Date: Sun Jun 06 2021 - 08:43:56 EST


The following commit has been merged into the irq/irqchip-next branch of irqchip:

Commit-ID: ebae7259a5ee70c2ac31ed021875818f79723859
Gitweb: https://git.kernel.org/pub/scm/linux/kernel/git/maz/arm-platforms/ebae7259a5ee70c2ac31ed021875818f79723859
Author: Marc Zyngier <maz@xxxxxxxxxx>
AuthorDate: Wed, 12 May 2021 13:46:05 +01:00
Committer: Marc Zyngier <maz@xxxxxxxxxx>
CommitterDate: Wed, 02 Jun 2021 17:35:36 +01:00

irqchip/nvic: Convert from handle_IRQ() to handle_domain_irq()

Given that the nvic driver is fully irqdomain aware, there is no
reason for it to use the arch-specific handle_IRQ(), and it can
be moved over to handle_domain_irq().

Signed-off-by: Marc Zyngier <maz@xxxxxxxxxx>
---
drivers/irqchip/irq-nvic.c | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/drivers/irqchip/irq-nvic.c b/drivers/irqchip/irq-nvic.c
index f747e22..b31c4cf 100644
--- a/drivers/irqchip/irq-nvic.c
+++ b/drivers/irqchip/irq-nvic.c
@@ -40,9 +40,7 @@ static struct irq_domain *nvic_irq_domain;
asmlinkage void __exception_irq_entry
nvic_handle_irq(irq_hw_number_t hwirq, struct pt_regs *regs)
{
- unsigned int irq = irq_linear_revmap(nvic_irq_domain, hwirq);
-
- handle_IRQ(irq, regs);
+ handle_domain_irq(nvic_irq_domain, hwirq, regs);
}

static int nvic_irq_domain_alloc(struct irq_domain *domain, unsigned int virq,