]> Projects (at) Tadryanom (dot) Me - AdrOS.git/commit
smp: print active CPU count for single-CPU boot
authorTulio A M Mendes <[email protected]>
Wed, 20 May 2026 12:07:37 +0000 (09:07 -0300)
committerTulio A M Mendes <[email protected]>
Wed, 20 May 2026 12:07:37 +0000 (09:07 -0300)
commiteead6c0bda5414940b6c0e7c09538467689af1fb
tree68a650bd700caaf174329bbb8fcad6d11b725bd9
parent73200941bfd8cce6e0c610dea0a06872ad6537fc
smp: print active CPU count for single-CPU boot

smp_start_aps() returned early without printing the 'CPU(s) active.'
message when g_cpu_count <= 1, causing the battery test SMP1 boot
pattern to fail. Now prints '[SMP] 1 CPU(s) active.' in that case.

Battery test: 148/148 PASS (was 147/148 with SMP1 boot FAIL)
src/arch/x86/smp.c