diff options
| author | Stephen Brennan <[email protected]> | 2022-02-02 17:18:18 +0000 |
|---|---|---|
| committer | Petr Mladek <[email protected]> | 2022-02-14 12:39:20 +0000 |
| commit | 77498617857f68496b360081dde1a492d40c28b2 (patch) | |
| tree | 292499391fc52f5875c2a62d2a8f170cc1e1a2b9 /lib/dump_stack.c | |
| parent | Merge tag 'printk-for-5.17' of git://git.kernel.org/pub/scm/linux/kernel/git/... (diff) | |
| download | kernel-77498617857f68496b360081dde1a492d40c28b2.tar.gz kernel-77498617857f68496b360081dde1a492d40c28b2.zip | |
printk: Add panic_in_progress helper
This will be used help avoid deadlocks during panics. Although it would
be better to include this in linux/panic.h, it would require that header
to include linux/atomic.h as well. On some architectures, this results
in a circular dependency as well. So instead add the helper directly to
printk.c.
Suggested-by: Petr Mladek <[email protected]>
Signed-off-by: Stephen Brennan <[email protected]>
Reviewed-by: Petr Mladek <[email protected]>
Reviewed-by: Sergey Senozhatsky <[email protected]>
Signed-off-by: Petr Mladek <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'lib/dump_stack.c')
0 files changed, 0 insertions, 0 deletions
