cpuidle: menu: Call nr_iowait_cpu less times
authorMel Gorman <mgorman@suse.de>
Wed, 6 Aug 2014 13:19:20 +0000 (14:19 +0100)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Wed, 6 Aug 2014 19:17:44 +0000 (21:17 +0200)
commit64b4ca5cb6e1a9f577588db5765dc996ddf595e1
treec6cb17b759c56fc19d46e652c17104cf8f4e46fa
parent107d4f4601a1408d04a5b54ffba507c92c235f58
cpuidle: menu: Call nr_iowait_cpu less times

menu_select() via inline functions calls nr_iowait_cpu() twice as much
as necessary.

Signed-off-by: Mel Gorman <mgorman@suse.de>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/cpuidle/governors/menu.c