sched: Fix incorrect usage of for_each_cpu_mask() in select_fallback_rq()
authorSrivatsa S. Bhat <[email protected]>
Fri, 30 Mar 2012 14:10:28 +0000 (19:40 +0530)
committerIngo Molnar <[email protected]>
Sat, 31 Mar 2012 08:43:36 +0000 (10:43 +0200)
commite3831edd59edf57ca11fc289f08961b20baf5146
tree70dfabd35517a97a1127df573d3770848f697e55
parent1f56ee7b68fecd45d25bdcf2eda7507797594424
sched: Fix incorrect usage of for_each_cpu_mask() in select_fallback_rq()

The function for_each_cpu_mask() expects a *pointer* to struct
cpumask as its second argument, whereas select_fallback_rq()
passes the value itself.

And moreover, for_each_cpu_mask() has been marked as obselete
in include/linux/cpumask.h. So move to the more appropriate
for_each_cpu() variant.

Reported-by: Sasha Levin <[email protected]>
Signed-off-by: Srivatsa S. Bhat <[email protected]>
Acked-by: Peter Zijlstra <[email protected]>
Cc: Dave Jones <[email protected]>
Cc: Liu Chuansheng <[email protected]>
Cc: [email protected]
Cc: [email protected]
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Ingo Molnar <[email protected]>
kernel/sched/core.c