Lines Matching refs:childregs
680 struct pt_regs *childregs, *kregs;
687 childregs = (struct pt_regs *) sp;
688 *childregs = *regs;
689 if ((childregs->msr & MSR_PR) == 0) {
691 childregs->gpr[1] = sp + sizeof(struct pt_regs);
693 childregs->gpr[2] = (unsigned long) p;
699 childregs->gpr[1] = usp;
700 p->thread.regs = childregs;
704 childregs->gpr[13] = childregs->gpr[6];
707 childregs->gpr[2] = childregs->gpr[6];
710 childregs->gpr[3] = 0; /* Result from fork() */