Lines Matching refs:childregs
492 struct pt_regs *childregs;
505 childregs = (struct pt_regs *)(THREAD_SIZE + task_stack_page(p)) - 1;
507 *childregs = *regs;
510 childregs->regs[15] = usp;
511 p->thread.uregs = childregs;
513 childregs->regs[15] = (unsigned long)task_stack_page(p) + THREAD_SIZE;
516 childregs->regs[9] = 0; /* Set return value for child */
517 childregs->sr |= SR_FD; /* Invalidate FPU flag */
519 p->thread.sp = (unsigned long) childregs;
529 se = childregs->regs[15];
531 childregs->regs[15] = se;