diff options
author | John Ogness <john.ogness@linutronix.de> | 2024-02-07 14:46:56 +0106 |
---|---|---|
committer | Petr Mladek <pmladek@suse.com> | 2024-02-07 17:23:18 +0100 |
commit | 36652d0f3bf34899e82d31a5fa9e2bdd02fd6381 (patch) | |
tree | 0d82d8d69b7ca76722ab537adab5a18b0fd30dd5 /tools/net/ynl/generated/netdev-user.c | |
parent | 0ab7cdd00491b532591ef065be706301de7e448f (diff) |
printk: Add this_cpu_in_panic()
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>
Link: https://lore.kernel.org/r/20240207134103.1357162-8-john.ogness@linutronix.de
Signed-off-by: Petr Mladek <pmladek@suse.com>
Diffstat (limited to 'tools/net/ynl/generated/netdev-user.c')
0 files changed, 0 insertions, 0 deletions