sched: use group_first_cpu() instead of cpumask_first(sched_group_cpus())
authorMiao Xie <miaox@cn.fujitsu.com>
Wed, 15 Apr 2009 01:59:10 +0000 (09:59 +0800)
committerIngo Molnar <mingo@elte.hu>
Wed, 15 Apr 2009 11:34:07 +0000 (13:34 +0200)
commit13318a7186d8e0ae08c996ea4111a945e7789772
tree1260da0d89fae5cd50419cfdba8cf0a7ee352c37
parent78ddb08feb7d4fbe3c0a9931804c51ee58be4023
sched: use group_first_cpu() instead of cpumask_first(sched_group_cpus())

Impact: cleanup

This patch changes cpumask_first(sched_group_cpus()) to group_first_cpu()
for maintainability.

Signed-off-by: Miao Xie <miaox@cn.fujitsu.com>
Acked-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
kernel/sched.c