summaryrefslogtreecommitdiff
path: root/drivers/irqchip/irq-nvic.c
diff options
context:
space:
mode:
authorMarc Zyngier <maz@kernel.org>2021-05-12 15:46:05 +0300
committerMarc Zyngier <maz@kernel.org>2021-06-10 15:09:19 +0300
commit9e027dd979beca41cd85f4e971d184fe0ffcff3c (patch)
tree862e98818d4cfcabe5fc565247b045a07fc67886 /drivers/irqchip/irq-nvic.c
parent9626d18a20e166a864e8d1f6ed6bbb84a0fa4989 (diff)
downloadlinux-9e027dd979beca41cd85f4e971d184fe0ffcff3c.tar.xz
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>
Diffstat (limited to 'drivers/irqchip/irq-nvic.c')
-rw-r--r--drivers/irqchip/irq-nvic.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/irqchip/irq-nvic.c b/drivers/irqchip/irq-nvic.c
index f747e2209ea9..b31c4cff4d3a 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,