aboutsummaryrefslogtreecommitdiff
path: root/arch/sh/kernel/idle.c
AgeCommit message (Collapse)Author
2009-06-23sh: Provide cpu_idle_wait() to fix up cpuidle/SMP build.Paul Mundt
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>
2009-04-02sh: Wire up ARCH_HAS_DEFAULT_IDLE for cpuidle.Paul Mundt
cpuidle wants ARCH_HAS_DEFAULT_IDLE defined in order to use the default idle loop. So, make it accessible and enable it for all sh machines. Signed-off-by: Paul Mundt <lethal@linux-sh.org>
2008-12-22sh: Split out the idle loop for reuse between _32/_64 variants.Paul Mundt
Signed-off-by: Paul Mundt <lethal@linux-sh.org>