* [PATCH] CPUidle: compile fix for non-x86
@ 2008-01-30 5:52 Kevin Hilman
0 siblings, 0 replies; only message in thread
From: Kevin Hilman @ 2008-01-30 5:52 UTC (permalink / raw)
To: linux-pm
Wrap cpu_idle_wait() in an x86 #ifdef since it's x86 only.
Signed-off-by: Kevin Hilman <khilman@mvista.com>
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
}
}
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2008-01-30 5:52 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-01-30 5:52 [PATCH] CPUidle: compile fix for non-x86 Kevin Hilman
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox