diff options
-rw-r--r-- | kernel/panic.c | 4 |
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) |