diff options
-rw-r--r-- | sys/kern/subr_smp.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/kern/subr_smp.c b/sys/kern/subr_smp.c index 686a80f..5bb0289 100644 --- a/sys/kern/subr_smp.c +++ b/sys/kern/subr_smp.c @@ -112,8 +112,10 @@ mp_start(void *dummy) { /* Probe for MP hardware. */ - if (mp_probe_status == 0 || smp_disabled != 0) + if (mp_probe_status == 0 || smp_disabled != 0) { + mp_ncpus = 1; return; + } mtx_init(&smp_rv_mtx, "smp rendezvous", NULL, MTX_SPIN); cpu_mp_start(); |