linux/drivers/cpuidle/governors
Sivaram Nair 0e5537b30d cpuidle: Fix finding state with min power_usage
Since cpuidle_state.power_usage is a signed value, use INT_MAX (instead
of -1) to init the local copies so that functions that tries to find
cpuidle states with minimum power usage works correctly even if they use
non-negative values.

Signed-off-by: Sivaram Nair <sivaramn@nvidia.com>
Reviewed-by: Rik van Riel <riel@redhat.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
2013-01-03 13:11:05 +01:00
..
ladder.c PM / cpuidle: Make ladder governor use the "disabled" state flag 2012-09-04 01:35:45 +02:00
Makefile
menu.c cpuidle: Fix finding state with min power_usage 2013-01-03 13:11:05 +01:00