summaryrefslogtreecommitdiff
path: root/kernel
diff options
context:
space:
mode:
authorPhilippe Langlais <philippe.langlais@stericsson.com>2012-06-04 19:45:38 +0800
committerPhilippe Langlais <philippe.langlais@stericsson.com>2012-06-04 19:45:38 +0800
commit20c81608dcd30fc3817d6d430fca83f52b9aa965 (patch)
tree1089db91ce174f5768dadd210ba3096ad027c8a6 /kernel
parent78b63e0cee40de1adbe69ceee752ae3b6a6d36e2 (diff)
parent961f14635e3589d262af5dcdc596cbb5bc24aea7 (diff)
Merge topic branch 'other' into integration-linux-ux500
Diffstat (limited to 'kernel')
-rw-r--r--kernel/panic.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/kernel/panic.c b/kernel/panic.c
index 8ed89a175d7..4d53e8b9830 100644
--- a/kernel/panic.c
+++ b/kernel/panic.c
@@ -101,6 +101,8 @@ void panic(const char *fmt, ...)
dump_stack();
#endif
+ atomic_notifier_call_chain(&panic_notifier_list, 0, buf);
+
/*
* If we have crashed and we have a crash kernel loaded let it handle
* everything else.
@@ -117,8 +119,6 @@ void panic(const char *fmt, ...)
*/
smp_send_stop();
- atomic_notifier_call_chain(&panic_notifier_list, 0, buf);
-
bust_spinlocks(0);
if (!panic_blink)