Compare commits

...

2 commits

Author SHA1 Message Date
Rościsław Szymański
2436721888
Merge df766d8eb6 into e42b1a9a25 2024-10-29 19:02:03 +08:00
Rościsław Szymański
df766d8eb6
Minor changes to pr_emerg lines in file: panic.c
Changes at lines 348, 424, and 457.
2024-10-01 09:37:24 +02:00

View file

@ -345,7 +345,7 @@ void panic(const char *fmt, ...)
if (len && buf[len - 1] == '\n')
buf[len - 1] = '\0';
pr_emerg("Kernel panic - not syncing: %s\n", buf);
pr_emerg("KERNEL PANIC - not syncing: %s\n", buf);
#ifdef CONFIG_DEBUG_BUGVERBOSE
/*
* Avoid nested stack-dumping if a panic occurs during oops processing
@ -421,7 +421,7 @@ void panic(const char *fmt, ...)
* Delay timeout seconds before rebooting the machine.
* We can't use the "normal" timers since we just panicked.
*/
pr_emerg("Rebooting in %d seconds..\n", panic_timeout);
pr_emerg("Attempting an EMERGENCY REBOOT in %d seconds..\n", panic_timeout);
for (i = 0; i < panic_timeout * 1000; i += PANIC_TIMER_STEP) {
touch_nmi_watchdog();
@ -454,7 +454,7 @@ void panic(const char *fmt, ...)
#if defined(CONFIG_S390)
disabled_wait();
#endif
pr_emerg("---[ end Kernel panic - not syncing: %s ]---\n", buf);
pr_emerg("---< end KERNEL PANIC - not syncing: %s >---\n", buf);
/* Do not scroll important messages printed above */
suppress_printk = 1;