projects
/
pintos-anon
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Get rid of power_off_when_done global variable.
[pintos-anon]
/
src
/
lib
/
kernel
/
debug.c
diff --git
a/src/lib/kernel/debug.c
b/src/lib/kernel/debug.c
index 43d8c1eddedd70e66c6de5e4b3b2586e45dd90ec..b12f4f9aacd343adb593f048892bb5646577461f 100644
(file)
--- a/
src/lib/kernel/debug.c
+++ b/
src/lib/kernel/debug.c
@@
-46,8
+46,7
@@
debug_panic (const char *file, int line, const char *function,
}
serial_flush ();
}
serial_flush ();
- if (power_off_when_done)
- shutdown_power_off ();
+ shutdown ();
for (;;);
}
for (;;);
}