aboutsummaryrefslogtreecommitdiff
path: root/kernel
diff options
context:
space:
mode:
authorValentin Schneider <[email protected]>2020-12-10 16:38:29 +0000
committerPeter Zijlstra <[email protected]>2021-03-23 16:01:58 +0100
commit2a2f80ff63bc36a874ed569bcaef932a8fe43514 (patch)
tree12a657ee69a776368e9f3115a8303a257ee17e3a /kernel
parent3b03706fa621ce31a3e9ef6307020fde4e6aae16 (diff)
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 <[email protected]> Signed-off-by: Peter Zijlstra (Intel) <[email protected]> Link: https://lkml.kernel.org/r/[email protected]
Diffstat (limited to 'kernel')
-rw-r--r--kernel/stop_machine.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/kernel/stop_machine.c b/kernel/stop_machine.c
index 971d8acceaec..cbc30271ea4d 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;
}