diff options
author | Ian Moffett <ian@osmora.org> | 2025-08-07 02:32:51 -0400 |
---|---|---|
committer | Ian Moffett <ian@osmora.org> | 2025-08-07 02:32:51 -0400 |
commit | 6f372c6474f049cec6086316a097c471f4959a53 (patch) | |
tree | dbd2411bff8bd5b378830a2bd49c5befe8acb5bd /sys/arch/amd64 | |
parent | 723e5c9f2821b721674c1a6cac0b9d55faeb0c99 (diff) |
kernel: sysctl: Report 'hw.*' variables
Signed-off-by: Ian Moffett <ian@osmora.org>
Diffstat (limited to 'sys/arch/amd64')
-rw-r--r-- | sys/arch/amd64/amd64/mp.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/arch/amd64/amd64/mp.c b/sys/arch/amd64/amd64/mp.c index 20f550f..43830ba 100644 --- a/sys/arch/amd64/amd64/mp.c +++ b/sys/arch/amd64/amd64/mp.c @@ -30,6 +30,7 @@ #include <sys/types.h> #include <sys/limine.h> #include <sys/limits.h> +#include <sys/systm.h> #include <sys/syslog.h> #include <sys/proc.h> #include <sys/spinlock.h> @@ -149,4 +150,5 @@ mp_bootstrap_aps(struct cpu_info *ci) /* Wait for all cores to be ready */ while ((ncpu_up - 1) < cpu_init_counter); + cpu_report_count(ncpu_up); } |