diff options
author | Stephen Brennan <stephen.s.brennan@oracle.com> | 2022-02-02 09:18:18 -0800 |
---|---|---|
committer | Petr Mladek <pmladek@suse.com> | 2022-02-14 13:39:20 +0100 |
commit | 77498617857f68496b360081dde1a492d40c28b2 (patch) | |
tree | 292499391fc52f5875c2a62d2a8f170cc1e1a2b9 /crypto/aegis.h | |
parent | a229327733b86aa585effdb0d27a87b12aa51597 (diff) | |
download | linux-77498617857f68496b360081dde1a492d40c28b2.tar.gz linux-77498617857f68496b360081dde1a492d40c28b2.tar.bz2 linux-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 <pmladek@suse.com>
Signed-off-by: Stephen Brennan <stephen.s.brennan@oracle.com>
Reviewed-by: Petr Mladek <pmladek@suse.com>
Reviewed-by: Sergey Senozhatsky <senozhatsky@chromium.org>
Signed-off-by: Petr Mladek <pmladek@suse.com>
Link: https://lore.kernel.org/r/20220202171821.179394-2-stephen.s.brennan@oracle.com
Diffstat (limited to 'crypto/aegis.h')
0 files changed, 0 insertions, 0 deletions