summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSteve Passe <fsmp@FreeBSD.org>1997-05-26 18:40:45 +0000
committerSteve Passe <fsmp@FreeBSD.org>1997-05-26 18:40:45 +0000
commitc4ed75ce195b303175ec392ccc2b303fb87bcd47 (patch)
tree96dea8c1dfe5437440c127221589000c4fb1e5aa
parent694f6724f1275e2719cd2eba192fc8791fb2adea (diff)
Notes
-rw-r--r--sys/amd64/amd64/machdep.c6
-rw-r--r--sys/i386/i386/machdep.c6
2 files changed, 8 insertions, 4 deletions
diff --git a/sys/amd64/amd64/machdep.c b/sys/amd64/amd64/machdep.c
index 4399dbb302be..8a9a8d3538cc 100644
--- a/sys/amd64/amd64/machdep.c
+++ b/sys/amd64/amd64/machdep.c
@@ -35,7 +35,7 @@
* SUCH DAMAGE.
*
* from: @(#)machdep.c 7.4 (Berkeley) 6/3/91
- * $Id: machdep.c,v 1.3 1997/05/26 09:12:19 smp Exp smp $
+ * $Id: machdep.c,v 1.244 1997/05/26 09:23:29 fsmp Exp $
*/
#include "npx.h"
@@ -218,7 +218,7 @@ cpu_startup(dummy)
mp_start(); /* fire up the APs and APICs */
#endif /* LATE_START */
mp_announce();
-#endif
+#endif /* SMP */
earlysetcpuclass();
startrtclock();
printcpuinfo();
@@ -1454,9 +1454,11 @@ init386(first)
proc0.p_addr->u_pcb.pcb_cr3 = IdlePTD;
proc0.p_addr->u_pcb.pcb_mpnest = 1;
+#ifdef SMP
#if !defined(LATE_START)
mp_start(); /* fire up the APs and APICs */
#endif /* LATE_START */
+#endif /* SMP */
}
int
diff --git a/sys/i386/i386/machdep.c b/sys/i386/i386/machdep.c
index 4399dbb302be..8a9a8d3538cc 100644
--- a/sys/i386/i386/machdep.c
+++ b/sys/i386/i386/machdep.c
@@ -35,7 +35,7 @@
* SUCH DAMAGE.
*
* from: @(#)machdep.c 7.4 (Berkeley) 6/3/91
- * $Id: machdep.c,v 1.3 1997/05/26 09:12:19 smp Exp smp $
+ * $Id: machdep.c,v 1.244 1997/05/26 09:23:29 fsmp Exp $
*/
#include "npx.h"
@@ -218,7 +218,7 @@ cpu_startup(dummy)
mp_start(); /* fire up the APs and APICs */
#endif /* LATE_START */
mp_announce();
-#endif
+#endif /* SMP */
earlysetcpuclass();
startrtclock();
printcpuinfo();
@@ -1454,9 +1454,11 @@ init386(first)
proc0.p_addr->u_pcb.pcb_cr3 = IdlePTD;
proc0.p_addr->u_pcb.pcb_mpnest = 1;
+#ifdef SMP
#if !defined(LATE_START)
mp_start(); /* fire up the APs and APICs */
#endif /* LATE_START */
+#endif /* SMP */
}
int