CPUidle: compile fix for non-x86
PATCH 1/1 CPUidle: compile fix for non-x86
Wrap cpu_idle_wait() in an x86 #ifdef since it's x86 only.
Signed-off-by Kevin Hilman <[email protected]>
drivers/cpuidle/cpuidle.c +2 -0
@@ -82,7 +82,9 @@ void cpuidle_uninstall_idle_handler(void) {if (enabled_devices && (pm_idle != pm_idle_old)) { pm_idle = pm_idle_old; +#ifdef CONFIG_X86 cpu_idle_wait (); +#endif } }