From 1c2fb946cdb784b2f64e12b54f1e93685167049c Mon Sep 17 00:00:00 2001 From: Sven Schnelle Date: Sat, 9 Oct 2021 20:24:38 +0200 Subject: [PATCH] parisc: disable preemption in send_IPI_allbutself() Otherwise we might not stop all other CPUs. Signed-off-by: Sven Schnelle Signed-off-by: Helge Deller --- arch/parisc/kernel/smp.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/arch/parisc/kernel/smp.c b/arch/parisc/kernel/smp.c index 1405b603..3413e69 100644 --- 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(); } -- 2.7.4