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>
This commit is contained in:
Marc Zyngier 2021-05-12 13:46:05 +01:00
parent 9626d18a20
commit 9e027dd979

View File

@ -40,9 +40,7 @@ static struct irq_domain *nvic_irq_domain;
asmlinkage void __exception_irq_entry asmlinkage void __exception_irq_entry
nvic_handle_irq(irq_hw_number_t hwirq, struct pt_regs *regs) nvic_handle_irq(irq_hw_number_t hwirq, struct pt_regs *regs)
{ {
unsigned int irq = irq_linear_revmap(nvic_irq_domain, hwirq); handle_domain_irq(nvic_irq_domain, hwirq, regs);
handle_IRQ(irq, regs);
} }
static int nvic_irq_domain_alloc(struct irq_domain *domain, unsigned int virq, static int nvic_irq_domain_alloc(struct irq_domain *domain, unsigned int virq,