diff --git a/[refs] b/[refs] index 6e8d3963f1c6..c543f44a4d1e 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 2a01bb3885c9145dbb7583d5aa5f5d5504f6f46f +refs/heads/master: 62be73eafaa045d3233337303fb140f7f8a61135 diff --git a/trunk/kernel/panic.c b/trunk/kernel/panic.c index b6215b7ce99d..d2a5f4ecc6dd 100644 --- a/trunk/kernel/panic.c +++ b/trunk/kernel/panic.c @@ -108,8 +108,6 @@ void panic(const char *fmt, ...) */ crash_kexec(NULL); - kmsg_dump(KMSG_DUMP_PANIC); - /* * Note smp_send_stop is the usual smp shutdown function, which * unfortunately means it may not be hardened to work in a panic @@ -117,6 +115,8 @@ void panic(const char *fmt, ...) */ smp_send_stop(); + kmsg_dump(KMSG_DUMP_PANIC); + atomic_notifier_call_chain(&panic_notifier_list, 0, buf); bust_spinlocks(0);