Skip to content

Commit d3c149b

Browse files
author
Marc Zyngier
committed
xtensa: 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 <[email protected]>
1 parent 2e0e0ff commit d3c149b

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

arch/xtensa/kernel/irq.c

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,6 @@ DECLARE_PER_CPU(unsigned long, nmi_count);
3333

3434
asmlinkage void do_IRQ(int hwirq, struct pt_regs *regs)
3535
{
36-
int irq = irq_find_mapping(NULL, hwirq);
37-
3836
#ifdef CONFIG_DEBUG_STACKOVERFLOW
3937
/* Debugging check for stack overflow: is there less than 1KB free? */
4038
{
@@ -48,7 +46,7 @@ asmlinkage void do_IRQ(int hwirq, struct pt_regs *regs)
4846
sp - sizeof(struct thread_info));
4947
}
5048
#endif
51-
generic_handle_irq(irq);
49+
generic_handle_domain_irq(NULL, hwirq);
5250
}
5351

5452
int arch_show_interrupts(struct seq_file *p, int prec)

0 commit comments

Comments
 (0)