diff options
author | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2020-02-12 00:37:11 +0100 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2020-02-14 10:37:27 +0100 |
commit | 814d51f8889bc4afa75f647eeffd5ff0a5620e8d (patch) | |
tree | 40c7ea7b29fe0f741507792237cb5bbdc87d810e /kernel/power/hibernate.c | |
parent | Documentation: PM: QoS: Update to reflect previous code changes (diff) | |
download | linux-814d51f8889bc4afa75f647eeffd5ff0a5620e8d.tar.xz linux-814d51f8889bc4afa75f647eeffd5ff0a5620e8d.zip |
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>
Diffstat (limited to 'kernel/power/hibernate.c')
0 files changed, 0 insertions, 0 deletions