sh: Provide cpu_idle_wait() to fix up cpuidle/SMP build.
authorPaul Mundt <lethal@linux-sh.org>
Fri, 19 Jun 2009 05:40:51 +0000 (14:40 +0900)
committerPaul Mundt <lethal@linux-sh.org>
Tue, 23 Jun 2009 08:30:17 +0000 (17:30 +0900)
commit2e046b9487dcc60707cac77fb8f744ec830209cd
tree9031ab1f8c1d2037b6be97e9378983a89267fd54
parentd888a4c76c51092993643f8992bf55b3c28da483
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>
arch/sh/Kconfig
arch/sh/include/asm/system.h
arch/sh/kernel/idle.c