summaryrefslogtreecommitdiffstats
path: root/lib/cmdline.c
diff options
context:
space:
mode:
authorRafael J. Wysocki <rafael.j.wysocki@intel.com>2015-05-10 01:19:52 +0200
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2015-05-14 21:37:52 +0200
commit0d94039fabccaa81d87eafdac509d0dda4df2f7b (patch)
tree3b7697a35df7ca25b0e9d013b68a2e2702ddb465 /lib/cmdline.c
parent827a5aefc542b8fb17c00de06118e5cd0e3800f2 (diff)
downloadlinux-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/cmdline.c')
0 files changed, 0 insertions, 0 deletions