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>
This commit is contained in:
Paul Mundt
2009-04-02 13:08:31 +09:00
parent eeee7853c4
commit e869a90ee1
3 changed files with 5 additions and 1 deletions

View File

@@ -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);