From: Valentin Schneider Date: Thu, 10 Dec 2020 16:38:29 +0000 (+0000) Subject: stop_machine: Add caller debug info to queue_stop_cpus_work X-Git-Tag: howlett/maple/20220722_2~3281^2~36 X-Git-Url: https://www.infradead.org/git/?a=commitdiff_plain;h=2a2f80ff63bc36a874ed569bcaef932a8fe43514;p=users%2Fjedix%2Flinux-maple.git stop_machine: Add caller debug info to queue_stop_cpus_work Most callsites were covered by commit a8b62fd08505 ("stop_machine: Add function and caller debug info") but this skipped queue_stop_cpus_work(). Add caller debug info to it. Signed-off-by: Valentin Schneider Signed-off-by: Peter Zijlstra (Intel) Link: https://lkml.kernel.org/r/20201210163830.21514-2-valentin.schneider@arm.com --- diff --git a/kernel/stop_machine.c b/kernel/stop_machine.c index 971d8acceaecb..cbc30271ea4dc 100644 --- a/kernel/stop_machine.c +++ b/kernel/stop_machine.c @@ -409,6 +409,7 @@ static bool queue_stop_cpus_work(const struct cpumask *cpumask, work->fn = fn; work->arg = arg; work->done = done; + work->caller = _RET_IP_; if (cpu_stop_queue_work(cpu, work)) queued = true; }