diff --git a/arch/arm/kernel/process.c b/arch/arm/kernel/process.c index c132e8145754..65d27efb1a91 100644 --- a/arch/arm/kernel/process.c +++ b/arch/arm/kernel/process.c @@ -279,7 +279,9 @@ void machine_shutdown(void) * thread that might wind up blocking on * one of the stopped CPUs. */ +#ifndef CONFIG_PLAT_RK preempt_disable(); +#endif smp_send_stop(); #endif