mirror of
https://github.com/Fishwaldo/linux-bl808.git
synced 2025-06-17 20:25:19 +00:00
kernel.h: Move oops_in_progress to printk.h
The oops_in_progress is defined in printk.c, so it's logical to move oops_in_progress to printk.h. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Acked-by: Sergey Senozhatsky <sergey.senozhatsky@gmail.com> Signed-off-by: Petr Mladek <pmladek@suse.com> Link: https://lore.kernel.org/r/20200911170202.8565-1-andriy.shevchenko@linux.intel.com
This commit is contained in:
parent
730037c3ee
commit
36d818f610
3 changed files with 3 additions and 2 deletions
|
@ -12,6 +12,8 @@
|
|||
extern const char linux_banner[];
|
||||
extern const char linux_proc_banner[];
|
||||
|
||||
extern int oops_in_progress; /* If set, an oops, panic(), BUG() or die() is in progress */
|
||||
|
||||
#define PRINTK_MAX_SINGLE_HEADER_LEN 2
|
||||
|
||||
static inline int printk_get_level(const char *buffer)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue