diff options
author | 2015-05-16 01:38:15 +0200 | |
---|---|---|
committer | 2015-05-19 02:44:24 +0200 | |
commit | 87e9b9f1d86c2ee9a10c2a4186a72d0af4cc963e (patch) | |
tree | d4967e50be04ffa2de19025b6c51f92284755a01 /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | PM / sleep: Return -EBUSY from suspend_enter() on wakeup detection (diff) | |
download | wireguard-linux-87e9b9f1d86c2ee9a10c2a4186a72d0af4cc963e.tar.xz wireguard-linux-87e9b9f1d86c2ee9a10c2a4186a72d0af4cc963e.zip |
PM / sleep: Make suspend-to-idle-specific code depend on CONFIG_SUSPEND
Since idle_should_freeze() is defined to always return 'false'
for CONFIG_SUSPEND unset, all of the code depending on it in
cpuidle_idle_call() is not necessary in that case.
Make that code depend on CONFIG_SUSPEND too to avoid building it
when it is not going to be used.
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Acked-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions