[PATCH v2 07/11] sched: clean up weighted_cpuload

2014-02-16 Thread Alex Shi
weighted_cpuload is used instead of source_load() when !idx. Now idx is always 0. so unify the usage to soruce_load. That make code more readable. Signed-off-by: Alex Shi --- kernel/sched/fair.c | 14 +++--- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git

[PATCH v2 07/11] sched: clean up weighted_cpuload

2014-02-16 Thread Alex Shi
weighted_cpuload is used instead of source_load() when !idx. Now idx is always 0. so unify the usage to soruce_load. That make code more readable. Signed-off-by: Alex Shi alex@linaro.org --- kernel/sched/fair.c | 14 +++--- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git