X-Git-Url: http://git.rot13.org/?a=blobdiff_plain;f=kernel%2Fpanic.c;h=aabc5f86fa3f4422a2b2cea9b3d67723cd99e317;hb=839c5d2511fadc35cc4e8a8ffa833d76668700b2;hp=74ba5f3e46c746059b044072b7bce99f53aa3551;hpb=8678887e7fb43cd6c9be6c9807b05e77848e0920;p=powerpc.git diff --git a/kernel/panic.c b/kernel/panic.c index 74ba5f3e46..aabc5f86fa 100644 --- a/kernel/panic.c +++ b/kernel/panic.c @@ -111,12 +111,11 @@ NORET_TYPE void panic(const char * fmt, ...) mdelay(1); i++; } - /* - * Should we run the reboot notifier. For the moment Im - * choosing not too. It might crash, be corrupt or do - * more harm than good for other reasons. + /* This will not be a clean reboot, with everything + * shutting down. But if there is a chance of + * rebooting the system it will be rebooted. */ - machine_restart(NULL); + emergency_restart(); } #ifdef __sparc__ {