diff options
Diffstat (limited to 'kernel/panic.c')
-rw-r--r-- | kernel/panic.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/kernel/panic.c b/kernel/panic.c index f236001cc4db..17aad578a2f2 100644 --- a/kernel/panic.c +++ b/kernel/panic.c | |||
@@ -80,6 +80,9 @@ NORET_TYPE void panic(const char * fmt, ...) | |||
80 | vsnprintf(buf, sizeof(buf), fmt, args); | 80 | vsnprintf(buf, sizeof(buf), fmt, args); |
81 | va_end(args); | 81 | va_end(args); |
82 | printk(KERN_EMERG "Kernel panic - not syncing: %s\n",buf); | 82 | printk(KERN_EMERG "Kernel panic - not syncing: %s\n",buf); |
83 | #ifdef CONFIG_DEBUG_BUGVERBOSE | ||
84 | dump_stack(); | ||
85 | #endif | ||
83 | bust_spinlocks(0); | 86 | bust_spinlocks(0); |
84 | 87 | ||
85 | /* | 88 | /* |