summaryrefslogtreecommitdiff
path: root/sys/arch/i386
diff options
context:
space:
mode:
authorKjell Wooding <kjell@cvs.openbsd.org>2005-05-26 04:02:45 +0000
committerKjell Wooding <kjell@cvs.openbsd.org>2005-05-26 04:02:45 +0000
commit48e0b42aa2bb1155a70d789836509e7cfdcf376b (patch)
treef1d1fb23b6f85ba4b46c5ab8f73cd2ac36d63e6a /sys/arch/i386
parentdf5fd65be8b60ec58c6a8ffcab959c6a1daa37ae (diff)
remove a self-nested #ifdef MULTIPROCESSOR
ok niklas@
Diffstat (limited to 'sys/arch/i386')
-rw-r--r--sys/arch/i386/i386/cpu.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/sys/arch/i386/i386/cpu.c b/sys/arch/i386/i386/cpu.c
index b36220b938d..c37b37727d1 100644
--- a/sys/arch/i386/i386/cpu.c
+++ b/sys/arch/i386/i386/cpu.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: cpu.c,v 1.12 2004/09/09 09:29:52 deraadt Exp $ */
+/* $OpenBSD: cpu.c,v 1.13 2005/05/26 04:02:44 kjell Exp $ */
/* $NetBSD: cpu.c,v 1.1.2.7 2000/06/26 02:04:05 sommerfeld Exp $ */
/*-
@@ -294,17 +294,12 @@ cpu_attach(parent, self, aux)
* report on an AP
*/
printf("apid %d (application processor)\n", caa->cpu_number);
-
-#ifdef MULTIPROCESSOR
gdt_alloc_cpu(ci);
ci->ci_flags |= CPUF_PRESENT | CPUF_AP;
identifycpu(ci);
ci->ci_next = cpu_info_list->ci_next;
cpu_info_list->ci_next = ci;
ncpus++;
-#else
- printf("%s: not started\n", ci->ci_dev.dv_xname);
-#endif
break;
default: