diff options
author | Len Brown <len.brown@intel.com> | 2013-02-09 21:10:04 -0500 |
---|---|---|
committer | Len Brown <len.brown@intel.com> | 2013-02-17 23:34:46 -0500 |
commit | dd8af076262cc1ff85a8d5e0c5b1a4716d19fe25 (patch) | |
tree | 793a32e3d0bfc64f77d349fbf61054aabfc8b087 /arch/x86/kernel/process.c | |
parent | 88b62b915b0b7e25870eb0604ed9a92ba4bfc9f7 (diff) | |
download | op-kernel-dev-dd8af076262cc1ff85a8d5e0c5b1a4716d19fe25.zip op-kernel-dev-dd8af076262cc1ff85a8d5e0c5b1a4716d19fe25.tar.gz |
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/kernel/process.c')
-rw-r--r-- | arch/x86/kernel/process.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/arch/x86/kernel/process.c b/arch/x86/kernel/process.c index 2ed787f..f571a6e 100644 --- a/arch/x86/kernel/process.c +++ b/arch/x86/kernel/process.c @@ -272,9 +272,6 @@ EXPORT_SYMBOL(boot_option_idle_override); * Powermanagement idle function, if any.. */ void (*pm_idle)(void); -#ifdef CONFIG_APM_MODULE -EXPORT_SYMBOL(pm_idle); -#endif #ifndef CONFIG_SMP static inline void play_dead(void) |