OSDN Git Service

irqchip/nvic: Convert from handle_IRQ() to handle_domain_irq()
authorMarc Zyngier <maz@kernel.org>
Wed, 12 May 2021 12:46:05 +0000 (13:46 +0100)
committerMarc Zyngier <maz@kernel.org>
Thu, 10 Jun 2021 12:09:19 +0000 (13:09 +0100)
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

index f747e22..b31c4cf 100644 (file)
@@ -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,