MIPS: SMTC: Cleanup the hook mess and use irq_data
Signed-off-by: Thomas Gleixner <tglx@linutronix.de> To: linux-mips@linux-mips.org Patchwork: https://patchwork.linux-mips.org/patch/2194/ Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
This commit is contained in:
committed by
Ralf Baechle
parent
2a2b221298
commit
930cd54b3b
@@ -183,8 +183,8 @@ void __irq_entry do_IRQ(unsigned int irq)
|
||||
{
|
||||
irq_enter();
|
||||
check_stack_overflow();
|
||||
__DO_IRQ_SMTC_HOOK(irq);
|
||||
generic_handle_irq(irq);
|
||||
if (!smtc_handle_on_other_cpu(irq))
|
||||
generic_handle_irq(irq);
|
||||
irq_exit();
|
||||
}
|
||||
|
||||
@@ -197,7 +197,7 @@ void __irq_entry do_IRQ(unsigned int irq)
|
||||
void __irq_entry do_IRQ_no_affinity(unsigned int irq)
|
||||
{
|
||||
irq_enter();
|
||||
__NO_AFFINITY_IRQ_SMTC_HOOK(irq);
|
||||
smtc_im_backstop(irq);
|
||||
generic_handle_irq(irq);
|
||||
irq_exit();
|
||||
}
|
||||
|
Reference in New Issue
Block a user