From: Mel Gorman Date: Wed, 6 Aug 2014 13:19:18 +0000 (+0100) Subject: cpuidle: menu: Use shifts when calculating averages where possible X-Git-Tag: omap-for-v3.17/fixes-against-rc2~56^2~1^4~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ae77930060338226a4377d3b93580c43b5ec82ae;p=pandora-kernel.git 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 Signed-off-by: Rafael J. Wysocki --- Reading git-diff-tree failed