Hi,
Please have a look at this.
Rafael
--- Begin Message ---
- To: linux-pm@xxxxxxxxxxxxxxxxxxxxxxxxxx
- Subject: [linux-pm] [PATCH] CPUidle: compile fix for non-x86
- From: Kevin Hilman <khilman@xxxxxxxxxx>
- Date: Tue, 29 Jan 2008 21:52:12 -0800
- Organization: MontaVista Software, Inc.
- User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.1 (gnu/linux)
Wrap cpu_idle_wait() in an x86 #ifdef since it's x86 only.
Signed-off-by: Kevin Hilman <khilman@xxxxxxxxxx>
diff --git a/drivers/cpuidle/cpuidle.c b/drivers/cpuidle/cpuidle.c
index d2fabe7..4d0f9b0 100644
--- a/drivers/cpuidle/cpuidle.c
+++ b/drivers/cpuidle/cpuidle.c
@@ -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
}
}
_______________________________________________
linux-pm mailing list
linux-pm@xxxxxxxxxxxxxxxxxxxxxxxxxx
https://lists.linux-foundation.org/mailman/listinfo/linux-pm
--- End Message ---