commit | 2e046b9487dcc60707cac77fb8f744ec830209cd | [log] [tgz] |
---|---|---|
author | Paul Mundt <lethal@linux-sh.org> | Fri Jun 19 14:40:51 2009 +0900 |
committer | Paul Mundt <lethal@linux-sh.org> | Tue Jun 23 17:30:17 2009 +0900 |
tree | 9031ab1f8c1d2037b6be97e9378983a89267fd54 | |
parent | d888a4c76c51092993643f8992bf55b3c28da483 [diff] [blame] |
sh: Provide cpu_idle_wait() to fix up cpuidle/SMP build. Crib the x86 cpu_idle_wait() implementation and shove it in with the idle code, subsequently enabling ARCH_HAS_CPU_IDLE_WAIT. Signed-off-by: Paul Mundt <lethal@linux-sh.org>
diff --git a/arch/sh/Kconfig b/arch/sh/Kconfig index ac1c620..09c0aef 100644 --- a/arch/sh/Kconfig +++ b/arch/sh/Kconfig
@@ -151,6 +151,9 @@ config ARCH_HAS_DEFAULT_IDLE def_bool y +config ARCH_HAS_CPU_IDLE_WAIT + def_bool y + config IO_TRAPPED bool