Commit bf6b38fd authored by Jeff Dike's avatar Jeff Dike

[PATCH] pass panic message to panic notifier chain

 This is needed for things running on the host which want to know when UML
 panics, and what the panic message was.
parent e611985e
...@@ -66,7 +66,7 @@ NORET_TYPE void panic(const char * fmt, ...) ...@@ -66,7 +66,7 @@ NORET_TYPE void panic(const char * fmt, ...)
smp_send_stop(); smp_send_stop();
#endif #endif
notifier_call_chain(&panic_notifier_list, 0, NULL); notifier_call_chain(&panic_notifier_list, 0, buf);
if (panic_timeout > 0) if (panic_timeout > 0)
{ {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment