mirror of
https://github.com/adulau/aha.git
synced 2024-12-29 12:16:20 +00:00
sched: fix warning in kernel/sched.c
Impact: fix cpumask conversion bug this warning: kernel/sched.c: In function ‘find_busiest_group’: kernel/sched.c:3429: warning: passing argument 1 of ‘__first_cpu’ from incompatible pointer type shows that we forgot to convert a new patch to the new cpumask APIs. Signed-off-by: Ingo Molnar <mingo@elte.hu>
This commit is contained in:
parent
06aaf76a7e
commit
9924da434a
1 changed files with 1 additions and 1 deletions
|
@ -3394,7 +3394,7 @@ out_balanced:
|
||||||
*imbalance = min_load_per_task;
|
*imbalance = min_load_per_task;
|
||||||
if (sched_mc_power_savings >= POWERSAVINGS_BALANCE_WAKEUP) {
|
if (sched_mc_power_savings >= POWERSAVINGS_BALANCE_WAKEUP) {
|
||||||
cpu_rq(this_cpu)->rd->sched_mc_preferred_wakeup_cpu =
|
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;
|
return group_min;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue