Commit 1c2fb946 authored by Sven Schnelle's avatar Sven Schnelle Committed by Helge Deller

parisc: disable preemption in send_IPI_allbutself()

Otherwise we might not stop all other CPUs.
Signed-off-by: default avatarSven Schnelle <svens@stackframe.org>
Signed-off-by: default avatarHelge Deller <deller@gmx.de>
parent 3fb28e19
...@@ -219,11 +219,13 @@ static inline void ...@@ -219,11 +219,13 @@ static inline void
send_IPI_allbutself(enum ipi_message_type op) send_IPI_allbutself(enum ipi_message_type op)
{ {
int i; int i;
preempt_disable();
for_each_online_cpu(i) { for_each_online_cpu(i) {
if (i != smp_processor_id()) if (i != smp_processor_id())
send_IPI_single(i, op); send_IPI_single(i, op);
} }
preempt_enable();
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment