提交 00baf857 编写于 作者: R Ralf Baechle

MIPS: Idle: cleaup SMTC idle hook as per Linux coding style.

Signed-off-by: NRalf Baechle <ralf@linux-mips.org>
上级 49f2ec91
......@@ -218,13 +218,18 @@ void __init check_wait(void)
}
}
void arch_cpu_idle(void)
static void smtc_idle_hook(void)
{
#ifdef CONFIG_MIPS_MT_SMTC
extern void smtc_idle_loop_hook(void);
void smtc_idle_loop_hook(void);
smtc_idle_loop_hook();
#endif
}
void arch_cpu_idle(void)
{
smtc_idle_hook();
if (cpu_wait)
(*cpu_wait)();
else
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册