Commit d3c149b7 authored by Marc Zyngier's avatar Marc Zyngier
Browse files

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: default avatarMarc Zyngier <maz@kernel.org>
parent 2e0e0ff4
Loading
Loading
Loading
Loading
+1 −3
Original line number Original line Diff line number Diff line
@@ -33,8 +33,6 @@ DECLARE_PER_CPU(unsigned long, nmi_count);


asmlinkage void do_IRQ(int hwirq, struct pt_regs *regs)
asmlinkage void do_IRQ(int hwirq, struct pt_regs *regs)
{
{
	int irq = irq_find_mapping(NULL, hwirq);

#ifdef CONFIG_DEBUG_STACKOVERFLOW
#ifdef CONFIG_DEBUG_STACKOVERFLOW
	/* Debugging check for stack overflow: is there less than 1KB free? */
	/* Debugging check for stack overflow: is there less than 1KB free? */
	{
	{
@@ -48,7 +46,7 @@ asmlinkage void do_IRQ(int hwirq, struct pt_regs *regs)
			       sp - sizeof(struct thread_info));
			       sp - sizeof(struct thread_info));
	}
	}
#endif
#endif
	generic_handle_irq(irq);
	generic_handle_domain_irq(NULL, hwirq);
}
}


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