/*
* Power management idle function
- * Set in pm platform drivers (apc.c and pmc.c)
+ * Set in pm platform drivers
*/
void (*pm_idle)(void);
}
while((!need_resched()) && pm_idle) {
- (*pm_idle)();
+ (*pm_idle)(); /* XXX Huh? On sparc?! */
}
schedule();
#endif
}
+ p->set_child_tid = p->clear_child_tid = NULL;
+
/*
* p->thread_info new_stack childregs
* ! ! ! {if(PSR_PS) }
(char __user * __user *)regs->u_regs[base + UREG_I2],
regs);
putname(filename);
- if (error == 0) {
- task_lock(current);
+ if (error == 0)
current->ptrace &= ~PT_DTRACE;
- task_unlock(current);
- }
out:
return error;
}