diff --git a/kernel/sched.c b/kernel/sched.c index 8fc0d5aa43b1c6127c9d882c5bfa214f10f3c5d6..ae5ca3f9e776958a611e8e3be1adb85a9bd3441d 100644 --- a/kernel/sched.c +++ b/kernel/sched.c @@ -3394,7 +3394,7 @@ find_busiest_group(struct sched_domain *sd, int this_cpu, *imbalance = min_load_per_task; if (sched_mc_power_savings >= POWERSAVINGS_BALANCE_WAKEUP) { cpu_rq(this_cpu)->rd->sched_mc_preferred_wakeup_cpu = - first_cpu(group_leader->cpumask); + cpumask_first(sched_group_cpus(group_leader)); } return group_min; }