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:
parent
3fb28e199d
commit
1c2fb946cd
|
@ -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();
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue