Lines Matching refs:childregs
507 struct pt_regs *childregs, *kregs;
514 childregs = (struct pt_regs *) sp;
515 *childregs = *regs;
516 if ((childregs->msr & MSR_PR) == 0) {
518 childregs->gpr[1] = sp + sizeof(struct pt_regs);
520 childregs->gpr[2] = (unsigned long) p;
526 childregs->gpr[1] = usp;
527 p->thread.regs = childregs;
531 childregs->gpr[13] = childregs->gpr[6];
534 childregs->gpr[2] = childregs->gpr[6];
537 childregs->gpr[3] = 0; /* Result from fork() */