Skip to content
Snippets Groups Projects
Commit 3ad6427e authored by Jeremy Soller's avatar Jeremy Soller
Browse files

Disable AP if it has the same ID as BSP

parent 5b5b2dbc
Branches master
No related tags found
No related merge requests found
......@@ -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 {
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment