Commit 153517d4 authored by Marc Zyngier's avatar Marc Zyngier

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: default avatarMarc Zyngier <maz@kernel.org>
parent d3c149b7
...@@ -19,11 +19,9 @@ static u32 ienable; ...@@ -19,11 +19,9 @@ static u32 ienable;
asmlinkage void do_IRQ(int hwirq, struct pt_regs *regs) asmlinkage void do_IRQ(int hwirq, struct pt_regs *regs)
{ {
struct pt_regs *oldregs = set_irq_regs(regs); struct pt_regs *oldregs = set_irq_regs(regs);
int irq;
irq_enter(); irq_enter();
irq = irq_find_mapping(NULL, hwirq); generic_handle_domain_irq(NULL, hwirq);
generic_handle_irq(irq);
irq_exit(); irq_exit();
set_irq_regs(oldregs); set_irq_regs(oldregs);
......
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