mirror of
https://github.com/torvalds/linux.git
synced 2024-11-21 19:41:42 +00:00
Update panic.c
This commit is contained in:
parent
0e3e4d08a6
commit
63909ee865
@ -212,7 +212,7 @@ void panic(const char *fmt, ...)
|
|||||||
if (len && buf[len - 1] == '\n')
|
if (len && buf[len - 1] == '\n')
|
||||||
buf[len - 1] = '\0';
|
buf[len - 1] = '\0';
|
||||||
|
|
||||||
pr_emerg("Kernel bruh moment - not syncing: %s\n", buf);
|
pr_emerg("Kernel vibe check - not syncing: %s\n", buf);
|
||||||
#ifdef CONFIG_DEBUG_BUGVERBOSE
|
#ifdef CONFIG_DEBUG_BUGVERBOSE
|
||||||
/*
|
/*
|
||||||
* Avoid nested stack-dumping if a panic occurs during oops processing
|
* Avoid nested stack-dumping if a panic occurs during oops processing
|
||||||
@ -336,7 +336,7 @@ void panic(const char *fmt, ...)
|
|||||||
#if defined(CONFIG_S390)
|
#if defined(CONFIG_S390)
|
||||||
disabled_wait();
|
disabled_wait();
|
||||||
#endif
|
#endif
|
||||||
pr_emerg("---[ end Kernel panic - not syncing: %s ]---\n", buf);
|
pr_emerg("---[ end Kernel vibe check - not syncing: %s ]---\n", buf);
|
||||||
|
|
||||||
/* Do not scroll important messages printed above */
|
/* Do not scroll important messages printed above */
|
||||||
suppress_printk = 1;
|
suppress_printk = 1;
|
||||||
|
Loading…
Reference in New Issue
Block a user