diff options
author | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2015-05-10 01:19:52 +0200 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2015-05-14 21:37:52 +0200 |
commit | 0d94039fabccaa81d87eafdac509d0dda4df2f7b (patch) | |
tree | 3b7697a35df7ca25b0e9d013b68a2e2702ddb465 /lib/crc32.c | |
parent | 827a5aefc542b8fb17c00de06118e5cd0e3800f2 (diff) | |
download | linux-0d94039fabccaa81d87eafdac509d0dda4df2f7b.tar.gz linux-0d94039fabccaa81d87eafdac509d0dda4df2f7b.tar.bz2 linux-0d94039fabccaa81d87eafdac509d0dda4df2f7b.zip |
cpuidle: Select a different state on tick_broadcast_enter() failures
If tick_broadcast_enter() fails in cpuidle_enter_state(),
try to find another idle state to enter instead of invoking
default_idle_call() immediately and returning -EBUSY which
should increase the chances of saving some energy in those
cases.
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Reviewed-by: Preeti U Murthy <preeti@linux.vnet.ibm.com>
Tested-by: Preeti U Murthy <preeti@linux.vnet.ibm.com>
Tested-by: Sudeep Holla <sudeep.holla@arm.com>
Acked-by: Kevin Hilman <khilman@linaro.org>
Diffstat (limited to 'lib/crc32.c')
0 files changed, 0 insertions, 0 deletions