From 496ffc90e4dc68c98dbf89ea67ebf36f9459cbe1 Mon Sep 17 00:00:00 2001 From: Andrew Gallatin Date: Fri, 22 Mar 2002 15:54:31 +0000 Subject: [PATCH] Allow SMP kernels (like GENERIC..) to boot on UP kernels on the alpha. Pointy hat to: jeff --- sys/alpha/alpha/mp_machdep.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/alpha/alpha/mp_machdep.c b/sys/alpha/alpha/mp_machdep.c index 62f0efc714f..85922be7153 100644 --- a/sys/alpha/alpha/mp_machdep.c +++ b/sys/alpha/alpha/mp_machdep.c @@ -536,7 +536,7 @@ release_aps(void *dummy __unused) printf("%s: releasing secondary CPUs\n", __func__); atomic_store_rel_int(&aps_ready, 1); - while (smp_started == 0) + while (mp_ncpus > 1 && smp_started == 0) ; /* nothing */ }