Allow SMP kernels (like GENERIC..) to boot on UP kernels on the alpha.

Pointy hat to: jeff
This commit is contained in:
Andrew Gallatin 2002-03-22 15:54:31 +00:00
parent 23186fc1dd
commit 496ffc90e4

View file

@ -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 */
}