From 93a14d25493d9b65bcf7399d2c93fbaa36c134fa Mon Sep 17 00:00:00 2001 From: Ksawlii Date: Sun, 24 Nov 2024 00:23:40 +0100 Subject: [PATCH] Revert "smp: Add missing destroy_work_on_stack() call in smp_call_on_cpu()" This reverts commit 0b1e77f743ee3e35e78f64f357ebb99ff09b64e3. --- kernel/smp.c | 1 - 1 file changed, 1 deletion(-) diff --git a/kernel/smp.c b/kernel/smp.c index 874254cb1..d5b269789 100755 --- a/kernel/smp.c +++ b/kernel/smp.c @@ -1034,7 +1034,6 @@ 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; }