mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-08-05 16:54:27 +00:00
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
1 changed files with 3 additions and 1 deletions
|
@ -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();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue