aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/kernel/process.c
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/kernel/process.c
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/kernel/process.c')
-rw-r--r--arch/x86/kernel/process.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/arch/x86/kernel/process.c b/arch/x86/kernel/process.c
index 2ed787f15bf0..f571a6e08710 100644
--- a/arch/x86/kernel/process.c
+++ b/arch/x86/kernel/process.c
@@ -272,9 +272,6 @@ EXPORT_SYMBOL(boot_option_idle_override);
272 * Powermanagement idle function, if any.. 272 * Powermanagement idle function, if any..
273 */ 273 */
274void (*pm_idle)(void); 274void (*pm_idle)(void);
275#ifdef CONFIG_APM_MODULE
276EXPORT_SYMBOL(pm_idle);
277#endif
278 275
279#ifndef CONFIG_SMP 276#ifndef CONFIG_SMP
280static inline void play_dead(void) 277static inline void play_dead(void)