Skip to content

Commit

Permalink
irqchip/nvic: Convert from handle_IRQ() to handle_domain_irq()
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Marc Zyngier committed Jun 10, 2021
1 parent 9626d18 commit 9e027dd
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions drivers/irqchip/irq-nvic.c
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 9e027dd

Please sign in to comment.