*/
void cpu_idle(void)
{
+ local_fiq_enable();
+
/* endless idle loop with no priority at all */
while (1) {
void (*idle)(void) = pm_idle;
thread->cpu_context.sp = (unsigned long)childregs;
thread->cpu_context.pc = (unsigned long)ret_from_fork;
+ if (clone_flags & CLONE_SETTLS)
+ thread->tp_value = regs->ARM_r3;
+
return 0;
}