sched: Initialize power_orig for overlapping groups
authorPeter Zijlstra <peterz@infradead.org>
Wed, 11 Dec 2013 10:09:53 +0000 (11:09 +0100)
committerIngo Molnar <mingo@kernel.org>
Wed, 11 Dec 2013 14:47:59 +0000 (15:47 +0100)
commit8e8339a3a1069141985daaa2521ba304509ddecd
treeacfef9f08997027721af46591be99d4dfde60f26
parent17b2112f332db7c2bac56926c9e627807bce3615
sched: Initialize power_orig for overlapping groups

Yinghai reported that he saw a /0 in sg_capacity on his EX parts.
Make sure to always initialize power_orig now that we actually use it.

Ideally build_sched_domains() -> init_sched_groups_power() would also
initialize this; but for some yet unexplained reason some setups seem
to miss updates there.

Reported-by: Yinghai Lu <yinghai@kernel.org>
Tested-by: Yinghai Lu <yinghai@kernel.org>
Signed-off-by: Peter Zijlstra <peterz@infradead.org>
Link: http://lkml.kernel.org/n/tip-l8ng2m9uml6fhibln8wqpom7@git.kernel.org
Signed-off-by: Ingo Molnar <mingo@kernel.org>
kernel/sched/core.c