mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-08-05 08:43:31 +00:00
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 <deller@gmx.de>
This commit is contained in:
parent
024f5b5975
commit
f4d0d40cd1
1 changed files with 6 additions and 3 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Reference in a new issue