diff --git a/kernel/sched/fair.c b/kernel/sched/fair.c index f60ef0b4ec33..3889fee98d11 100644 --- a/kernel/sched/fair.c +++ b/kernel/sched/fair.c @@ -1529,7 +1529,7 @@ static inline bool is_core_idle(int cpu) if (cpu == sibling) continue; - if (!idle_cpu(cpu)) + if (!idle_cpu(sibling)) return false; } #endif