sh: Simplify "multi-evt" interrupt handling.
This patch changes the way in which "multi-evt" interrups are handled. The intc_evt2irq_table and related intc_evt2irq() have been removed and the "redirecting" handler is installed for the coupled interrupts. Thanks to that the do_IRQ() function don't have to use another level of indirection for all the interrupts... Signed-off-by: Pawel Moll <pawel.moll@st.com> Signed-off-by: Stuart Menefy <stuart.menefy@st.com> Signed-off-by: Paul Mundt <lethal@linux-sh.org>
This commit is contained in:
@@ -114,7 +114,7 @@ asmlinkage int do_IRQ(unsigned int irq, struct pt_regs *regs)
|
||||
#endif
|
||||
|
||||
irq_enter();
|
||||
irq = irq_demux(intc_evt2irq(irq));
|
||||
irq = irq_demux(evt2irq(irq));
|
||||
|
||||
#ifdef CONFIG_IRQSTACKS
|
||||
curctx = (union irq_ctx *)current_thread_info();
|
||||
|
Reference in New Issue
Block a user