Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
MIPS: Enable interrupts in arch_cpu_idle()
  • Loading branch information
wpwrak committed May 8, 2013
1 parent c79334c commit cd1f890
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions arch/mips/kernel/process.c
Expand Up @@ -50,13 +50,18 @@ void arch_cpu_idle_dead(void)
}
#endif

void arch_cpu_idle(void)
static void smtc_idle_hook(void)
{
#ifdef CONFIG_MIPS_MT_SMTC
extern void smtc_idle_loop_hook(void);

smtc_idle_loop_hook();
#endif
}

void arch_cpu_idle(void)
{
local_irq_enable();
smtc_idle_hook();
if (cpu_wait)
(*cpu_wait)();
else
Expand Down

0 comments on commit cd1f890

Please sign in to comment.