summaryrefslogtreecommitdiffstats
path: root/drivers/cpuidle/poll_state.c
Commit message (Collapse)AuthorAgeFilesLines
* cpuidle: Make drivers initialize polling stateRafael J. Wysocki2017-08-301-1/+2
| | | | | | | | | | | Make the drivers that want to include the polling state into their states table initialize it explicitly and drop the initialization of it (which in fact is conditional, but that is not obvious from the code) from the core. Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com> Tested-by: Sudeep Holla <sudeep.holla@arm.com> Acked-by: Daniel Lezcano <daniel.lezcano@linaro.org>
* cpuidle: Move polling state initialization code to separate fileRafael J. Wysocki2017-08-301-0/+36
Move the polling state initialization code to a separate file built conditionally on CONFIG_ARCH_HAS_CPU_RELAX to get rid of the #ifdef in driver.c. Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com> Tested-by: Sudeep Holla <sudeep.holla@arm.com> Acked-by: Daniel Lezcano <daniel.lezcano@linaro.org>
OpenPOWER on IntegriCloud