aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/Kconfig
diff options
context:
space:
mode:
authorLen Brown <len.brown@intel.com>2013-02-09 21:10:04 -0500
committerLen Brown <len.brown@intel.com>2013-02-17 23:34:46 -0500
commitdd8af076262cc1ff85a8d5e0c5b1a4716d19fe25 (patch)
tree793a32e3d0bfc64f77d349fbf61054aabfc8b087 /arch/x86/Kconfig
parent88b62b915b0b7e25870eb0604ed9a92ba4bfc9f7 (diff)
APM idle: register apm_cpu_idle via cpuidle
Update APM to register its local idle routine with cpuidle. This allows us to stop exporting pm_idle to modules on x86. The Kconfig sub-option, APM_CPU_IDLE, now depends on on CPU_IDLE. Compile-tested only. Signed-off-by: Len Brown <len.brown@intel.com> Reviewed-by: Daniel Lezcano <daniel.lezcano@linaro.org> Cc: Jiri Kosina <jkosina@suse.cz>
Diffstat (limited to 'arch/x86/Kconfig')
-rw-r--r--arch/x86/Kconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/x86/Kconfig b/arch/x86/Kconfig
index 225543bf45a5..1b635861401c 100644
--- a/arch/x86/Kconfig
+++ b/arch/x86/Kconfig
@@ -1912,6 +1912,7 @@ config APM_DO_ENABLE
1912 this feature. 1912 this feature.
1913 1913
1914config APM_CPU_IDLE 1914config APM_CPU_IDLE
1915 depends on CPU_IDLE
1915 bool "Make CPU Idle calls when idle" 1916 bool "Make CPU Idle calls when idle"
1916 ---help--- 1917 ---help---
1917 Enable calls to APM CPU Idle/CPU Busy inside the kernel's idle loop. 1918 Enable calls to APM CPU Idle/CPU Busy inside the kernel's idle loop.