aboutsummaryrefslogtreecommitdiffstats
path: root/arch/sh/kernel/idle.c
diff options
context:
space:
mode:
authorPaul Mundt <lethal@linux-sh.org>2009-04-02 13:08:31 +0900
committerPaul Mundt <lethal@linux-sh.org>2009-04-02 13:08:31 +0900
commite869a90ee1235a4f89ecb956e7b7d724d65217c8 (patch)
tree301059ac2ebc4c0ac8251765a3a87e4b2518bfc8 /arch/sh/kernel/idle.c
parentsh: Add a command line option for disabling I/O trapping. (diff)
downloadlinux-dev-e869a90ee1235a4f89ecb956e7b7d724d65217c8.tar.xz
linux-dev-e869a90ee1235a4f89ecb956e7b7d724d65217c8.zip
sh: Wire up ARCH_HAS_DEFAULT_IDLE for cpuidle.
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>
Diffstat (limited to '')
-rw-r--r--arch/sh/kernel/idle.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/sh/kernel/idle.c b/arch/sh/kernel/idle.c
index fe59ccfc1152..f35ed0348850 100644
--- a/arch/sh/kernel/idle.c
+++ b/arch/sh/kernel/idle.c
@@ -38,7 +38,7 @@ static int __init hlt_setup(char *__unused)
}
__setup("hlt", hlt_setup);
-static void default_idle(void)
+void default_idle(void)
{
if (!hlt_counter) {
clear_thread_flag(TIF_POLLING_NRFLAG);