Skip to content

Commit 2a2f80f

Browse files
Valentin SchneiderPeter Zijlstra
authored andcommitted
stop_machine: Add caller debug info to queue_stop_cpus_work
Most callsites were covered by commit a8b62fd ("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 <valentin.schneider@arm.com> Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org> Link: https://lkml.kernel.org/r/20201210163830.21514-2-valentin.schneider@arm.com
1 parent 3b03706 commit 2a2f80f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

kernel/stop_machine.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -409,6 +409,7 @@ static bool queue_stop_cpus_work(const struct cpumask *cpumask,
409409
work->fn = fn;
410410
work->arg = arg;
411411
work->done = done;
412+
work->caller = _RET_IP_;
412413
if (cpu_stop_queue_work(cpu, work))
413414
queued = true;
414415
}

0 commit comments

Comments
 (0)