Re: [PATCH printk v2 2/4] printk: Add this_cpu_in_panic()

From: Petr Mladek
Date: Mon Oct 16 2023 - 09:14:35 EST


On Fri 2023-10-13 22:49:38, John Ogness wrote:
> There is already panic_in_progress() and other_cpu_in_panic(),
> but checking if the current CPU is the panic CPU must still be
> open coded.
>
> Add this_cpu_in_panic() to complete the set.
>
> Signed-off-by: John Ogness <john.ogness@xxxxxxxxxxxxx>

Reviewed-by: Petr Mladek <pmladek@xxxxxxxx>

Best Regards,
Petr