+22
−3
+1
−1
Loading
With the buddy lockup detector, smp_processor_id() returns the detecting CPU, not the locked CPU, making scx_hardlockup()'s printouts confusing. Pass the locked CPU number from watchdog_hardlockup_check() as a parameter instead. Also add kerneldoc comments to handle_lockup(), scx_hardlockup(), and scx_rcu_cpu_stall() documenting their return value semantics. Suggested-by:Doug Anderson <dianders@chromium.org> Reviewed-by:
Douglas Anderson <dianders@chromium.org> Acked-by:
Andrea Righi <arighi@nvidia.com> Reviewed-by:
Emil Tsalapatis <emil@etsalapatis.com> Signed-off-by:
Tejun Heo <tj@kernel.org>