Author: imp
Date: Mon May  7 21:09:21 2018
New Revision: 333335
URL: https://svnweb.freebsd.org/changeset/base/333335

Log:
  Put the CPU starting on one line.

Modified:
  head/sys/x86/x86/mp_x86.c

Modified: head/sys/x86/x86/mp_x86.c
==============================================================================
--- head/sys/x86/x86/mp_x86.c   Mon May  7 21:09:17 2018        (r333334)
+++ head/sys/x86/x86/mp_x86.c   Mon May  7 21:09:21 2018        (r333335)
@@ -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)
_______________________________________________
svn-src-all@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to