summaryrefslogtreecommitdiff
path: root/sys/arch
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2007-05-08 18:52:00 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2007-05-08 18:52:00 +0000
commitb42a91a783827b711e9784ea7f32c0cb76450fe0 (patch)
treeb00ebcb18e5ca3aa107459a63c25671da00a47a8 /sys/arch
parent81da5dab89475d67ab46bfd53d35f77ded24b081 (diff)
cpu_init() is only used for the MP case (for now)
Diffstat (limited to 'sys/arch')
-rw-r--r--sys/arch/i386/i386/cpu.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/sys/arch/i386/i386/cpu.c b/sys/arch/i386/i386/cpu.c
index fe768b73eae..b2cb29e15b0 100644
--- a/sys/arch/i386/i386/cpu.c
+++ b/sys/arch/i386/i386/cpu.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: cpu.c,v 1.22 2007/04/24 12:58:50 tom Exp $ */
+/* $OpenBSD: cpu.c,v 1.23 2007/05/08 18:51:59 deraadt Exp $ */
/* $NetBSD: cpu.c,v 1.1.2.7 2000/06/26 02:04:05 sommerfeld Exp $ */
/*-
@@ -323,6 +323,7 @@ cpu_attach(struct device *parent, struct device *self, void *aux)
* Initialize the processor appropriately.
*/
+#ifdef MULTIPROCESSOR
void
cpu_init(struct cpu_info *ci)
{
@@ -357,9 +358,6 @@ cpu_init(struct cpu_info *ci)
#endif /* I686_CPU */
}
-
-#ifdef MULTIPROCESSOR
-
void
cpu_boot_secondary_processors()
{