linux/drivers/cpuidle
Deepthi Dharwar b25edc42bf cpuidle: Remove CPUIDLE_FLAG_IGNORE and dev->prepare()
The cpuidle_device->prepare() mechanism causes updates to the
cpuidle_state[].flags, setting and clearing CPUIDLE_FLAG_IGNORE
to tell the governor not to chose a state on a per-cpu basis at
run-time. State demotion is now handled by the driver and it returns
the actual state entered. Hence, this mechanism is not required.
Also this removes per-cpu flags from cpuidle_state enabling
it to be made global.

Reference:
https://lkml.org/lkml/2011/3/25/52

Signed-off-by: Deepthi Dharwar <deepthi@linux.vnet.ibm>
Signed-off-by: Trinabh Gupta <g.trinabh@gmail.com>
Tested-by: Jean Pihet <j-pihet@ti.com>
Acked-by: Arjan van de Ven <arjan@linux.intel.com>
Reviewed-by: Kevin Hilman <khilman@ti.com>
Signed-off-by: Len Brown <len.brown@intel.com>
2011-11-06 21:13:43 -05:00
..
governors cpuidle: Remove CPUIDLE_FLAG_IGNORE and dev->prepare() 2011-11-06 21:13:43 -05:00
Kconfig ACPI: CONFIG_CPU_IDLE=ACPI by default 2007-11-19 22:22:37 -05:00
Makefile
cpuidle.c cpuidle: Remove CPUIDLE_FLAG_IGNORE and dev->prepare() 2011-11-06 21:13:43 -05:00
cpuidle.h cpuidle: create bootparam "cpuidle.off=1" 2011-08-03 19:06:36 -04:00
driver.c cpuidle: create bootparam "cpuidle.off=1" 2011-08-03 19:06:36 -04:00
governor.c cpuidle: create bootparam "cpuidle.off=1" 2011-08-03 19:06:36 -04:00
sysfs.c Kill off warning: ‘inline’ is not at beginning of declaration 2011-01-19 15:43:08 +01:00