aboutsummaryrefslogtreecommitdiffstats
path: root/lib/dump_stack.c
diff options
context:
space:
mode:
authorJohn Ogness <[email protected]>2024-02-07 13:40:56 +0000
committerPetr Mladek <[email protected]>2024-02-07 16:23:18 +0000
commit36652d0f3bf34899e82d31a5fa9e2bdd02fd6381 (patch)
tree0d82d8d69b7ca76722ab537adab5a18b0fd30dd5 /lib/dump_stack.c
parentprintk: For @suppress_panic_printk check for other CPU in panic (diff)
downloadkernel-36652d0f3bf34899e82d31a5fa9e2bdd02fd6381.tar.gz
kernel-36652d0f3bf34899e82d31a5fa9e2bdd02fd6381.zip
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 <[email protected]> Reviewed-by: Petr Mladek <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Petr Mladek <[email protected]>
Diffstat (limited to 'lib/dump_stack.c')
0 files changed, 0 insertions, 0 deletions