]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
cpuidle: governors: Consolidate PM QoS handling
authorRafael J. Wysocki <rafael.j.wysocki@intel.com>
Wed, 30 May 2018 11:43:01 +0000 (13:43 +0200)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Wed, 30 May 2018 21:13:00 +0000 (23:13 +0200)
commit0fc784fb09f6db8d6650aac137daa779da25c73b
tree2896a3243e31b5a220acbad7fb11c6a828243273
parentcf7eeea947efaf2348dd87542508b1d426b948cd
cpuidle: governors: Consolidate PM QoS handling

There is some code duplication related to the PM QoS handling between
the existing cpuidle governors, so move that code to a common helper
function and call that from the governors.

Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/cpuidle/governor.c
drivers/cpuidle/governors/ladder.c
drivers/cpuidle/governors/menu.c
include/linux/cpuidle.h