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

Petr Mladek
2023-10-16T13:14:35Z

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@linutronix.de>

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

Best Regards,
Petr