diff --git a/kernel/smp.c b/kernel/smp.c index f1c69b49a..9100e6c30 100755 --- a/kernel/smp.c +++ b/kernel/smp.c @@ -1034,6 +1034,7 @@ int smp_call_on_cpu(unsigned int cpu, int (*func)(void *), void *par, bool phys) queue_work_on(cpu, system_wq, &sscs.work); wait_for_completion(&sscs.done); + destroy_work_on_stack(&sscs.work); return sscs.ret; }