diff options
Diffstat (limited to 'kernel/panic.c')
-rw-r--r-- | kernel/panic.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/panic.c b/kernel/panic.c index 32fe4eff1b89..57fb005de546 100644 --- a/kernel/panic.c +++ b/kernel/panic.c | |||
@@ -77,7 +77,6 @@ NORET_TYPE void panic(const char * fmt, ...) | |||
77 | #ifdef CONFIG_DEBUG_BUGVERBOSE | 77 | #ifdef CONFIG_DEBUG_BUGVERBOSE |
78 | dump_stack(); | 78 | dump_stack(); |
79 | #endif | 79 | #endif |
80 | bust_spinlocks(0); | ||
81 | 80 | ||
82 | /* | 81 | /* |
83 | * If we have crashed and we have a crash kernel loaded let it handle | 82 | * If we have crashed and we have a crash kernel loaded let it handle |
@@ -136,6 +135,7 @@ NORET_TYPE void panic(const char * fmt, ...) | |||
136 | mdelay(1); | 135 | mdelay(1); |
137 | i++; | 136 | i++; |
138 | } | 137 | } |
138 | bust_spinlocks(0); | ||
139 | } | 139 | } |
140 | 140 | ||
141 | EXPORT_SYMBOL(panic); | 141 | EXPORT_SYMBOL(panic); |