Only saying you're launching other CPUs if there are more than one to launch.
This commit is contained in:
parent
570838e70a
commit
8e1d7e9138
@ -532,7 +532,7 @@ smp_handle_ipi(struct trapframe *frame)
|
|||||||
static void
|
static void
|
||||||
release_aps(void *dummy __unused)
|
release_aps(void *dummy __unused)
|
||||||
{
|
{
|
||||||
if (bootverbose)
|
if (bootverbose && mp_ncpus > 1)
|
||||||
printf("%s: releasing secondary CPUs\n", __func__);
|
printf("%s: releasing secondary CPUs\n", __func__);
|
||||||
atomic_store_rel_int(&aps_ready, 1);
|
atomic_store_rel_int(&aps_ready, 1);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user