cpuidle: play_idle: Specify play_idle with an idle state
Currently, the play_idle function does not allow to tell which idle state we want to go. Improve this by passing the idle state as parameter to the function. Export cpuidle_find_deepest_state() symbol as it is used from the intel_powerclamp driver as a module. There is no functional changes, the cpuidle state is the deepest one. Signed-off-by:Daniel Lezcano <daniel.lezcano@linaro.org> Acked-by:
Mathieu Poirier <mathieu.poirier@linaro.org>
Showing
- drivers/cpuidle/cpuidle.c 1 addition, 0 deletionsdrivers/cpuidle/cpuidle.c
- drivers/powercap/idle_inject.c 3 additions, 1 deletiondrivers/powercap/idle_inject.c
- drivers/thermal/intel/intel_powerclamp.c 3 additions, 1 deletiondrivers/thermal/intel/intel_powerclamp.c
- include/linux/cpu.h 1 addition, 1 deletioninclude/linux/cpu.h
- kernel/sched/idle.c 2 additions, 2 deletionskernel/sched/idle.c
Loading
Please register or sign in to comment