Merge tag 'io_uring-5.13-2021-05-07' of git://git.kernel.dk/linux-block
[linux-2.6-microblaze.git] / arch / parisc / kernel / smp.c
index 6271139..10227f6 100644 (file)
@@ -173,9 +173,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;