diff options
author | Gautham R Shenoy <[email protected]> | 2009-09-02 16:59:10 +0530 |
---|---|---|
committer | Ingo Molnar <[email protected]> | 2009-09-04 10:09:56 +0200 |
commit | d899a789c28ded9c72b57ddb61868d6b8fc23e80 (patch) | |
tree | 0b636ca14480093af22e64e09d1d72632d26fbd7 /drivers/mtd/lpddr/lpddr_cmds.c | |
parent | bdb94aa5dbd8b55e75f5a50b61312fe589e2c2d1 (diff) |
sched: Try to deal with low capacity, fix update_sd_power_savings_stats()
sgs.group_capacity can now be 0, if for some reason
group->__cpu_power happens to be less than SCHED_LOAD_SCALE/2.
In that case, we need the following fix to make it work for
update_sd_power_savings_stats(). That's because both
sum_nr_running and group_capacity are unsigned longs.
Cc: Gautham R Shenoy <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Andreas Herrmann <[email protected]>
Cc: Balbir Singh <[email protected]>
Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'drivers/mtd/lpddr/lpddr_cmds.c')
0 files changed, 0 insertions, 0 deletions