forked from luck/tmp_suning_uos_patched
MIPS: Idle: cleaup SMTC idle hook as per Linux coding style.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
This commit is contained in:
parent
49f2ec91e1
commit
00baf8576c
|
@ -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
|
#ifdef CONFIG_MIPS_MT_SMTC
|
||||||
extern void smtc_idle_loop_hook(void);
|
void smtc_idle_loop_hook(void);
|
||||||
|
|
||||||
smtc_idle_loop_hook();
|
smtc_idle_loop_hook();
|
||||||
#endif
|
#endif
|
||||||
|
}
|
||||||
|
|
||||||
|
void arch_cpu_idle(void)
|
||||||
|
{
|
||||||
|
smtc_idle_hook();
|
||||||
if (cpu_wait)
|
if (cpu_wait)
|
||||||
(*cpu_wait)();
|
(*cpu_wait)();
|
||||||
else
|
else
|
||||||
|
|
Loading…
Reference in New Issue
Block a user