[MIPS] use generic_handle_irq, handle_level_irq, handle_percpu_irq
Further incorporation of generic irq framework. Replacing __do_IRQ() by proper flow handler would make the irq handling path a bit simpler and faster. * use generic_handle_irq() instead of __do_IRQ(). * use handle_level_irq for obvious level-type irq chips. * use handle_percpu_irq for irqs marked as IRQ_PER_CPU. * setup .eoi routine for irq chips possibly used with handle_percpu_irq. Signed-off-by: Atsushi Nemoto <anemo@mba.ocn.ne.jp> Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
This commit is contained in:
committed by
Ralf Baechle
parent
1603b5aca4
commit
1417836e81
@@ -1009,6 +1009,7 @@ void setup_cross_vpe_interrupts(void)
|
||||
setup_irq_smtc(cpu_ipi_irq, &irq_ipi, (0x100 << MIPS_CPU_IPI_IRQ));
|
||||
|
||||
irq_desc[cpu_ipi_irq].status |= IRQ_PER_CPU;
|
||||
set_irq_handler(cpu_ipi_irq, handle_percpu_irq);
|
||||
}
|
||||
|
||||
/*
|
||||
|
Reference in New Issue
Block a user