Skip to content
Commit ae779300 authored by Mel Gorman's avatar Mel Gorman Committed by Rafael J. Wysocki
Browse files

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: default avatarMel Gorman <mgorman@suse.de>
Signed-off-by: default avatarRafael J. Wysocki <rafael.j.wysocki@intel.com>
parent dd38c9d3
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment