diff --git a/src/main.rs b/src/main.rs index d90f0d480b..eb88994a52 100644 --- a/src/main.rs +++ b/src/main.rs @@ -219,7 +219,8 @@ fn kmain_ap(cpu_id: crate::cpu_set::LogicalCpuId) -> ! { #[cfg(feature = "profiling")] profiling::maybe_run_profiling_helper_forever(cpu_id); - if !cfg!(feature = "multi_core") { + //TODO: workaround for bug where an AP on MeteorLake has cpu_id 0 + if !cfg!(feature = "multi_core") || cpu_id == crate::cpu_set::LogicalCpuId::BSP { info!("AP {}: Disabled", cpu_id); loop {