mirror of
https://github.com/torvalds/linux.git
synced 2024-11-01 04:53:36 +01:00
Minor changes to pr_emerg lines in file: panic.c
Changes at lines 348, 424, and 457.
This commit is contained in:
parent
e32cde8d2b
commit
df766d8eb6
1 changed files with 3 additions and 3 deletions
|
@ -345,7 +345,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 panic - not syncing: %s\n", buf);
|
pr_emerg("KERNEL PANIC - 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
|
||||||
|
@ -421,7 +421,7 @@ void panic(const char *fmt, ...)
|
||||||
* Delay timeout seconds before rebooting the machine.
|
* Delay timeout seconds before rebooting the machine.
|
||||||
* We can't use the "normal" timers since we just panicked.
|
* 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) {
|
for (i = 0; i < panic_timeout * 1000; i += PANIC_TIMER_STEP) {
|
||||||
touch_nmi_watchdog();
|
touch_nmi_watchdog();
|
||||||
|
@ -454,7 +454,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 PANIC - 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 a new issue