commit | ae77930060338226a4377d3b93580c43b5ec82ae | [log] [tgz] |
---|---|---|
author | Mel Gorman <mgorman@suse.de> | Wed Aug 06 14:19:18 2014 +0100 |
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | Wed Aug 06 21:17:44 2014 +0200 |
tree | 161b93ae479de6e0cea6007e9b01819287cc82fc | |
parent | dd38c9d35ba8e40011b36659cae2719aefd11904 [diff] |
cpuidle: menu: Use shifts when calculating averages where possible We use do_div even though the divisor will usually be a power-of-two unless there are unusual outliers. Use shifts where possible Signed-off-by: Mel Gorman <mgorman@suse.de> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>