diff options
author | Ingo Molnar <mingo@elte.hu> | 2008-12-18 18:53:40 -0500 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-12-19 03:21:57 -0500 |
commit | 9924da434a13668fceb208d56dbdf86d166862cc (patch) | |
tree | c11e2ebebd0fd5e0cd2c86a72fbb0c1183876101 | |
parent | 06aaf76a7e2e4cc57eabcb8f43ec99c961fe55fe (diff) |
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>
-rw-r--r-- | kernel/sched.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/sched.c b/kernel/sched.c index 8fc0d5aa43b1..ae5ca3f9e776 100644 --- a/kernel/sched.c +++ b/kernel/sched.c | |||
@@ -3394,7 +3394,7 @@ out_balanced: | |||
3394 | *imbalance = min_load_per_task; | 3394 | *imbalance = min_load_per_task; |
3395 | if (sched_mc_power_savings >= POWERSAVINGS_BALANCE_WAKEUP) { | 3395 | if (sched_mc_power_savings >= POWERSAVINGS_BALANCE_WAKEUP) { |
3396 | cpu_rq(this_cpu)->rd->sched_mc_preferred_wakeup_cpu = | 3396 | cpu_rq(this_cpu)->rd->sched_mc_preferred_wakeup_cpu = |
3397 | first_cpu(group_leader->cpumask); | 3397 | cpumask_first(sched_group_cpus(group_leader)); |
3398 | } | 3398 | } |
3399 | return group_min; | 3399 | return group_min; |
3400 | } | 3400 | } |