kernel-ark/drivers/cpuidle
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
..
governors cpuidle: Fix finding state with min power_usage 2013-01-03 13:11:05 +01:00
coupled.c cpuidle: Prevent null pointer dereference in cpuidle_coupled_cpu_notify 2012-08-17 19:37:08 +02:00
cpuidle-calxeda.c cpuidle: add Calxeda SOC idle support 2012-11-07 17:15:36 -06:00
cpuidle.c cpuidle: Fix finding state with min power_usage 2013-01-03 13:11:05 +01:00
cpuidle.h cpuidle: support multiple drivers 2012-11-15 00:34:23 +01:00
driver.c cpuidle: support multiple drivers 2012-11-15 00:34:23 +01:00
governor.c cpuidle: create bootparam "cpuidle.off=1" 2011-08-03 19:06:36 -04:00
Kconfig ARM: arm-soc: SoC updates for 3.8 2012-12-12 12:05:15 -08:00
Makefile cpuidle: add Calxeda SOC idle support 2012-11-07 17:15:36 -06:00
sysfs.c cpuidle: support multiple drivers 2012-11-15 00:34:23 +01:00