summaryrefslogtreecommitdiffstats
path: root/arch/nios2
diff options
context:
space:
mode:
authorMarc Zyngier <maz@kernel.org>2021-05-04 17:42:18 +0100
committerMarc Zyngier <maz@kernel.org>2021-08-12 11:39:41 +0100
commit153517d4e7d1c3f5d6174db6177ff3f3f56a9b5c (patch)
treebfc1f44a2d13750ee6740b937330d83d8e2a2e73 /arch/nios2
parentd3c149b768fb54fdea8ce4edbc768fe7e72a22ca (diff)
downloadlinux-153517d4e7d1c3f5d6174db6177ff3f3f56a9b5c.tar.bz2
nios2: Bulk conversion to generic_handle_domain_irq()
Wherever possible, replace constructs that match either generic_handle_irq(irq_find_mapping()) or generic_handle_irq(irq_linear_revmap()) to a single call to generic_handle_domain_irq(). Signed-off-by: Marc Zyngier <maz@kernel.org>
Diffstat (limited to 'arch/nios2')
-rw-r--r--arch/nios2/kernel/irq.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/arch/nios2/kernel/irq.c b/arch/nios2/kernel/irq.c
index c6a1a9f6ac42..6b7890e5f7af 100644
--- a/arch/nios2/kernel/irq.c
+++ b/arch/nios2/kernel/irq.c
@@ -19,11 +19,9 @@ static u32 ienable;
asmlinkage void do_IRQ(int hwirq, struct pt_regs *regs)
{
struct pt_regs *oldregs = set_irq_regs(regs);
- int irq;
irq_enter();
- irq = irq_find_mapping(NULL, hwirq);
- generic_handle_irq(irq);
+ generic_handle_domain_irq(NULL, hwirq);
irq_exit();
set_irq_regs(oldregs);