parisc: disable preemption in send_IPI_allbutself()

Otherwise we might not stop all other CPUs.

Signed-off-by: Sven Schnelle <svens@stackframe.org>
Signed-off-by: Helge Deller <deller@gmx.de>
This commit is contained in:
Sven Schnelle 2021-10-09 20:24:38 +02:00 committed by Helge Deller
parent 3fb28e199d
commit 1c2fb946cd
1 changed files with 3 additions and 1 deletions

View File

@ -219,11 +219,13 @@ static inline void
send_IPI_allbutself(enum ipi_message_type op)
{
int i;
preempt_disable();
for_each_online_cpu(i) {
if (i != smp_processor_id())
send_IPI_single(i, op);
}
preempt_enable();
}