From b425e3fba2951deecd6289817bd6973d0e8a6d9d Mon Sep 17 00:00:00 2001 From: Warner Losh Date: Mon, 7 May 2018 21:09:21 +0000 Subject: [PATCH] Put the CPU starting on one line. --- sys/x86/x86/mp_x86.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/sys/x86/x86/mp_x86.c b/sys/x86/x86/mp_x86.c index 90a4cfc41970..a1ffb8a58db8 100644 --- a/sys/x86/x86/mp_x86.c +++ b/sys/x86/x86/mp_x86.c @@ -1020,7 +1020,11 @@ init_secondary_tail(void) smp_cpus++; CTR1(KTR_SMP, "SMP: AP CPU #%d Launched", cpuid); - printf("SMP: AP CPU #%d Launched!\n", cpuid); + if (bootverbose) + printf("SMP: AP CPU #%d Launched!\n", cpuid); + else + printf("%s%d%s", smp_cpus == 2 ? "Launching APs: " : "", + cpuid, smp_cpus == mp_ncpus ? "\n" : " "); /* Determine if we are a logical CPU. */ if (cpu_info[PCPU_GET(apic_id)].cpu_hyperthread)