Get rid of power_off_when_done global variable.
[pintos-anon] / src / lib / kernel / debug.c
index 43d8c1eddedd70e66c6de5e4b3b2586e45dd90ec..b12f4f9aacd343adb593f048892bb5646577461f 100644 (file)
@@ -46,8 +46,7 @@ debug_panic (const char *file, int line, const char *function,
     }
 
   serial_flush ();
-  if (power_off_when_done)
-    shutdown_power_off ();
+  shutdown ();
   for (;;);
 }