[PATCH v2 8/9] panic/printk: replace other_cpu_in_panic() with panic_on_other_cpu()

Petr Mladek pmladek at suse.com
Tue Sep 16 04:23:28 PDT 2025


On Mon 2025-08-25 10:29:36, Jinchao Wang wrote:
> The helper other_cpu_in_panic() duplicated logic already provided by
> panic_on_other_cpu().
> 
> Remove other_cpu_in_panic() and update all users to call
> panic_on_other_cpu() instead.
> 
> This removes redundant code and makes panic handling consistent.
> 
> Signed-off-by: Jinchao Wang <wangjinchao600 at gmail.com>

Looks good:

Reviewed-by: Petr Mladek <pmladek at suse.com>

Best Regards,
Petr



More information about the kexec mailing list