summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorMiod Vallat <miod@cvs.openbsd.org>2007-12-17 05:23:50 +0000
committerMiod Vallat <miod@cvs.openbsd.org>2007-12-17 05:23:50 +0000
commit7bcf88a3ca38c7988d9e2fb5871172360c8528b7 (patch)
tree52d9fd8c419c7f82679943c2b29e66e9395c4166 /sys
parent22a0cc1fc6f3ffdac334612c1f1a667424856ffd (diff)
Make this compile again.
Diffstat (limited to 'sys')
-rw-r--r--sys/arch/luna88k/luna88k/machdep.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/arch/luna88k/luna88k/machdep.c b/sys/arch/luna88k/luna88k/machdep.c
index 6c76ed61998..c8f2de5a0fc 100644
--- a/sys/arch/luna88k/luna88k/machdep.c
+++ b/sys/arch/luna88k/luna88k/machdep.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: machdep.c,v 1.52 2007/11/17 05:37:53 miod Exp $ */
+/* $OpenBSD: machdep.c,v 1.53 2007/12/17 05:23:49 miod Exp $ */
/*
* Copyright (c) 1998, 1999, 2000, 2001 Steve Murphree, Jr.
* Copyright (c) 1996 Nivas Madhur
@@ -756,8 +756,6 @@ abort:
}
}
-#ifdef MULTIPROCESSOR
-
/*
* Release the cpu_mutex; secondary processors will now have their
* chance to initialize.
@@ -768,6 +766,8 @@ cpu_boot_secondary_processors()
__cpu_simple_unlock(&cpu_mutex);
}
+#ifdef MULTIPROCESSOR
+
/*
* Secondary CPU early initialization routine.
* Determine CPU number and set it, then allocate the startup stack.
@@ -1057,7 +1057,7 @@ luna88k_bootstrap()
if (cpu == master_cpu)
continue;
m8820x_initialize_cpu(cpu);
- cmmu_set_sapr(cpu, kernel_pmap->pm_apr);
+ cmmu_set_sapr(kernel_pmap->pm_apr);
}
/* Release the cpu_mutex */
cpu_boot_secondary_processors();