diff options
author | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2016-07-24 09:27:24 +1000 |
---|---|---|
committer | Stewart Smith <stewart@linux.vnet.ibm.com> | 2016-08-22 15:26:52 +1000 |
commit | 86c18e3fe74e96a3b9c1c029ca56fbca201ddc34 (patch) | |
tree | f4530dc5e2369b4cfcf904f957ccf09c40830d46 /core/cpu.c | |
parent | 9567e18728d0559bc5f79ea927d684dc3b1e3555 (diff) | |
download | skiboot-86c18e3fe74e96a3b9c1c029ca56fbca201ddc34.zip skiboot-86c18e3fe74e96a3b9c1c029ca56fbca201ddc34.tar.gz skiboot-86c18e3fe74e96a3b9c1c029ca56fbca201ddc34.tar.bz2 |
cpu: Display number of started CPUs during boot
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
Diffstat (limited to 'core/cpu.c')
-rw-r--r-- | core/cpu.c | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -832,12 +832,13 @@ void init_all_cpus(void) void cpu_bringup(void) { struct cpu_thread *t; + uint32_t count = 0; prlog(PR_INFO, "CPU: Setting up secondary CPU state\n"); op_display(OP_LOG, OP_MOD_CPU, 0x0000); - /* Tell everybody to chime in ! */ + /* Tell everybody to chime in ! */ prlog(PR_INFO, "CPU: Calling in all processors...\n"); cpu_secondary_start = 1; sync(); @@ -855,9 +856,10 @@ void cpu_bringup(void) sync(); } smt_medium(); + count++; } - prlog(PR_INFO, "CPU: All processors called in...\n"); + prlog(PR_NOTICE, "CPU: All %d processors called in...\n", count); op_display(OP_LOG, OP_MOD_CPU, 0x0003); } |