summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sys/src/9/pc/mp.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/sys/src/9/pc/mp.c b/sys/src/9/pc/mp.c
index ead78ae17..a3afc885d 100644
--- a/sys/src/9/pc/mp.c
+++ b/sys/src/9/pc/mp.c
@@ -620,9 +620,10 @@ mpintrenable(Vctl* v)
void
mpshutdown(void)
{
- static Lock shutdownlock;
-
- if(active.rebooting || !canlock(&shutdownlock)){
+ /*
+ * Park application processors.
+ */
+ if(active.rebooting || m->machno != 0){
splhi();
arch->introff();
idle();