summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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();