diff options
author | Ian Moffett <ian@osmora.org> | 2024-02-26 00:17:27 -0500 |
---|---|---|
committer | Ian Moffett <ian@osmora.org> | 2024-02-26 00:17:27 -0500 |
commit | 764db616aed7d71c4c785659b6398a8bfcaca42e (patch) | |
tree | dadd9f45feb8ff43321482317be9acc02e87ad14 /sys/arch | |
parent | d2bb1bd0f7ee62c5e9051db95df2916271c91105 (diff) |
kernel/amd64: cpu_mp: Allow single core processing
Signed-off-by: Ian Moffett <ian@osmora.org>
Diffstat (limited to 'sys/arch')
-rw-r--r-- | sys/arch/amd64/amd64/cpu_mp.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/amd64/amd64/cpu_mp.c b/sys/arch/amd64/amd64/cpu_mp.c index b00e34e..36b09bf 100644 --- a/sys/arch/amd64/amd64/cpu_mp.c +++ b/sys/arch/amd64/amd64/cpu_mp.c @@ -93,8 +93,8 @@ ap_bootstrap(struct cpu_info *ci) cpu_init_counter = resp->cpu_count - 1; if (resp->cpu_count == 1) { - /* TODO: Allow single core processing */ - panic("System only has 1 core!\n"); + KINFO("CPU has 1 core, no APs to bootstrap...\n"); + return; } KINFO("Bootstrapping %d cores...\n", cpu_init_counter); |