linux/arch/sh/kernel/cpu
Daniel Lezcano b82b6cca48 cpuidle: Invert CPUIDLE_FLAG_TIME_VALID logic
The only place where the time is invalid is when the ACPI_CSTATE_FFH entry
method is not set. Otherwise for all the drivers, the time can be correctly
measured.

Instead of duplicating the CPUIDLE_FLAG_TIME_VALID flag in all the drivers
for all the states, just invert the logic by replacing it by the flag
CPUIDLE_FLAG_TIME_INVALID, hence we can set this flag only for the acpi idle
driver, remove the former flag from all the drivers and invert the logic with
this flag in the different governor.

Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
2014-11-12 21:17:27 +01:00
..
irq Disintegrate asm/system.h for SH 2012-03-28 18:30:03 +01:00
sh2 sh: Switch to new style CMT device 2014-05-11 19:35:26 +09:00
sh2a sh: Switch to new style MTU2 device 2014-05-11 19:35:28 +09:00
sh3 sh: fix sh770x SCIF memory regions 2014-10-29 16:33:15 -07:00
sh4 sh: Switch to new style TMU device 2014-05-11 19:35:27 +09:00
sh4a Merge branch 'for-linus' of git://git.infradead.org/users/vkoul/slave-dma 2014-08-11 07:14:01 -07:00
sh5 sh: Switch to new style TMU device 2014-05-11 19:35:27 +09:00
shmobile cpuidle: Invert CPUIDLE_FLAG_TIME_VALID logic 2014-11-12 21:17:27 +01:00
Makefile sh: Add PFC platform device registration helper function 2013-01-25 09:24:23 +09:00
adc.c
clock-cpg.c sh: Switch to new style MTU2 device 2014-05-11 19:35:28 +09:00
clock.c
fpu.c sh: move fpu_counter into ARCH specific thread_struct 2013-11-13 12:09:13 +09:00
init.c sh: prefix sh-specific "CCR" and "CCR2" by "SH_" 2014-03-04 07:55:49 -08:00
pfc.c sh: Remove unused sh_pfc_register_info() function 2013-01-25 09:24:30 +09:00
proc.c Merge branches 'sh/wdt' and 'sh/rsk-updates' into sh-latest 2012-05-10 17:20:56 +09:00