diff options
-rw-r--r-- | arch/sh/Kconfig | 3 | ||||
-rw-r--r-- | arch/sh/include/asm/system.h | 1 | ||||
-rw-r--r-- | arch/sh/kernel/idle.c | 2 |
3 files changed, 5 insertions, 1 deletions
diff --git a/arch/sh/Kconfig b/arch/sh/Kconfig index 2af949a6a898..6a1e79b886c1 100644 --- a/arch/sh/Kconfig +++ b/arch/sh/Kconfig | |||
@@ -130,6 +130,9 @@ config ARCH_HAS_ILOG2_U64 | |||
130 | config ARCH_NO_VIRT_TO_BUS | 130 | config ARCH_NO_VIRT_TO_BUS |
131 | def_bool y | 131 | def_bool y |
132 | 132 | ||
133 | config ARCH_HAS_DEFAULT_IDLE | ||
134 | def_bool y | ||
135 | |||
133 | config IO_TRAPPED | 136 | config IO_TRAPPED |
134 | bool | 137 | bool |
135 | 138 | ||
diff --git a/arch/sh/include/asm/system.h b/arch/sh/include/asm/system.h index c9ec6af8e745..a88895e6dcb0 100644 --- a/arch/sh/include/asm/system.h +++ b/arch/sh/include/asm/system.h | |||
@@ -153,6 +153,7 @@ extern unsigned long cached_to_uncached; | |||
153 | extern struct dentry *sh_debugfs_root; | 153 | extern struct dentry *sh_debugfs_root; |
154 | 154 | ||
155 | void per_cpu_trap_init(void); | 155 | void per_cpu_trap_init(void); |
156 | void default_idle(void); | ||
156 | 157 | ||
157 | asmlinkage void break_point_trap(void); | 158 | asmlinkage void break_point_trap(void); |
158 | 159 | ||
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) | |||
38 | } | 38 | } |
39 | __setup("hlt", hlt_setup); | 39 | __setup("hlt", hlt_setup); |
40 | 40 | ||
41 | static void default_idle(void) | 41 | void default_idle(void) |
42 | { | 42 | { |
43 | if (!hlt_counter) { | 43 | if (!hlt_counter) { |
44 | clear_thread_flag(TIF_POLLING_NRFLAG); | 44 | clear_thread_flag(TIF_POLLING_NRFLAG); |