summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNiklas Hallqvist <niklas@cvs.openbsd.org>2004-06-23 17:23:28 +0000
committerNiklas Hallqvist <niklas@cvs.openbsd.org>2004-06-23 17:23:28 +0000
commit719a17b6cf3d68602e83425a9599bab843184fe2 (patch)
tree592a4b8679f9b3b89e96caefd221a68c204e3df9
parent2e4ad17cd42b299d528be98b93b04cbce728c523 (diff)
oops, keep MP stuff inside MULTIPROCESSOR
-rw-r--r--sys/arch/i386/i386/cpu.c12
1 files changed, 5 insertions, 7 deletions
diff --git a/sys/arch/i386/i386/cpu.c b/sys/arch/i386/i386/cpu.c
index 4a44510fe90..01f52d6d55d 100644
--- a/sys/arch/i386/i386/cpu.c
+++ b/sys/arch/i386/i386/cpu.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: cpu.c,v 1.6 2004/06/23 17:14:31 niklas Exp $ */
+/* $OpenBSD: cpu.c,v 1.7 2004/06/23 17:23:27 niklas Exp $ */
/* $NetBSD: cpu.c,v 1.1.2.7 2000/06/26 02:04:05 sommerfeld Exp $ */
/*-
@@ -312,22 +312,20 @@ cpu_attach(parent, self, aux)
default:
panic("unknown processor type??\n");
}
-#else /* MULTIPROCESSOR */
- printf("\n");
-#endif /* !MULTIPROCESSOR */
/* Mark this ID as taken if it's in the I/O APIC ID area */
if (ci->ci_apicid < IOAPIC_ID_MAX)
ioapic_id_map &= ~(1 << ci->ci_apicid);
-
-#ifdef MULTIPROCESSOR
+
if (mp_verbose) {
printf("%s: kstack at 0x%lx for %d bytes\n",
ci->ci_dev.dv_xname, kstack, USPACE);
printf("%s: idle pcb at %p, idle sp at 0x%x\n",
ci->ci_dev.dv_xname, pcb, pcb->pcb_esp);
}
-#endif
+#else /* MULTIPROCESSOR */
+ printf("\n");
+#endif /* !MULTIPROCESSOR */
}
/*