diff --git a/kernel/smp.c b/kernel/smp.c index d5b269789..874254cb1 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; }