Re: [PATCH 8/9] panic/printk: replace other_cpu_in_panic() with panic_on_other_cpu()
From: John Ogness
Date: Mon Aug 25 2025 - 06:05:59 EST
On 2025-08-20, Jinchao Wang <wangjinchao600@xxxxxxxxx> 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@xxxxxxxxx>
Reviewed-by: John Ogness <john.ogness@xxxxxxxxxxxxx>