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

Message ID 162341967525.19906.16186149196707834208.tip-bot2@tip-bot2
State Accepted
Commit 9e027dd979beca41cd85f4e971d184fe0ffcff3c
Headers show
Series
  • [irqchip:,irq/irqchip-next] irqchip/nvic: Convert from handle_IRQ() to handle_domain_irq()
Related show

Commit Message

irqchip-bot for Andy Shevchenko June 11, 2021, 1:54 p.m. UTC
The following commit has been merged into the irq/irqchip-next branch of irqchip:

Commit-ID:     9e027dd979beca41cd85f4e971d184fe0ffcff3c
Gitweb:        https://git.kernel.org/pub/scm/linux/kernel/git/maz/arm-platforms/9e027dd979beca41cd85f4e971d184fe0ffcff3c
Author:        Marc Zyngier <maz@kernel.org>
AuthorDate:    Wed, 12 May 2021 13:46:05 +01:00
Committer:     Marc Zyngier <maz@kernel.org>
CommitterDate: Thu, 10 Jun 2021 13:09:19 +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@kernel.org>
---
 drivers/irqchip/irq-nvic.c | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

Patch
diff mbox series

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,