Commit 9e027dd9 authored by Marc Zyngier's avatar Marc Zyngier

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: default avatarMarc Zyngier <maz@kernel.org>
parent 9626d18a
...@@ -40,9 +40,7 @@ static struct irq_domain *nvic_irq_domain; ...@@ -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,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment