parisc: Avoid external interrupts when IPI finishes
Helge Deller
maintainerPATCH 1/1 parisc: Avoid external interrupts when IPI finishes
No need to allow external interrupts when the IPI loop is going to finish now.
Signed-off-by Helge Deller <[email protected]>
arch/parisc/kernel/smp.c +6 -3
@@ -173,9 +183,12 @@ ipi_interrupt(int irq, void *dev_id) this_cpu, which);return IRQ_NONE ; }/* Switch */ -/* let in any pending interrupts */ -local_irq_enable (); -local_irq_disable (); + +/* before doing more, let in any pending interrupts */ +if (ops) { +local_irq_enable (); +local_irq_disable (); + } }/* while (ops) */ }return IRQ_HANDLED ;