]> git.baikalelectronics.ru Git - kernel.git/commit
PM: QoS: Make CPU latency QoS depend on CONFIG_CPU_IDLE
authorRafael J. Wysocki <rafael.j.wysocki@intel.com>
Tue, 11 Feb 2020 23:37:11 +0000 (00:37 +0100)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Fri, 14 Feb 2020 09:37:27 +0000 (10:37 +0100)
commitc8179a882b79a5ebbb11015c9f8fc3e79f9b77de
tree40c7ea7b29fe0f741507792237cb5bbdc87d810e
parent52126456d6fdaa960cc5d4134c5de82b0f81d31c
PM: QoS: Make CPU latency QoS depend on CONFIG_CPU_IDLE

Because cpuidle is the only user of the effective constraint coming
from the CPU latency QoS, add #ifdef CONFIG_CPU_IDLE around that code
to avoid building it unnecessarily.

Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Reviewed-by: Ulf Hansson <ulf.hansson@linaro.org>
Reviewed-by: Amit Kucheria <amit.kucheria@linaro.org>
Tested-by: Amit Kucheria <amit.kucheria@linaro.org>
include/linux/pm_qos.h
kernel/power/qos.c