projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3fb28e1
)
parisc: disable preemption in send_IPI_allbutself()
author
Sven Schnelle
<svens@stackframe.org>
Sat, 9 Oct 2021 18:24:38 +0000
(20:24 +0200)
committer
Helge Deller
<deller@gmx.de>
Sat, 30 Oct 2021 21:11:01 +0000
(23:11 +0200)
Otherwise we might not stop all other CPUs.
Signed-off-by: Sven Schnelle <svens@stackframe.org>
Signed-off-by: Helge Deller <deller@gmx.de>
arch/parisc/kernel/smp.c
patch
|
blob
|
history
diff --git
a/arch/parisc/kernel/smp.c
b/arch/parisc/kernel/smp.c
index 1405b603b91b6be6909530825ad455ee150ebbf3..3413e6949c872483b08af23b84a28d27cee93f20 100644
(file)
--- a/
arch/parisc/kernel/smp.c
+++ b/
arch/parisc/kernel/smp.c
@@
-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();
}