Lines Matching refs:childregs
1655 struct pt_regs *childregs, *kregs; in copy_thread() local
1670 childregs = (struct pt_regs *) sp; in copy_thread()
1673 memset(childregs, 0, sizeof(struct pt_regs)); in copy_thread()
1674 childregs->gpr[1] = sp + sizeof(struct pt_regs); in copy_thread()
1677 childregs->gpr[14] = ppc_function_entry((void *)usp); in copy_thread()
1680 childregs->softe = IRQS_ENABLED; in copy_thread()
1682 childregs->gpr[15] = kthread_arg; in copy_thread()
1690 *childregs = *regs; in copy_thread()
1692 childregs->gpr[1] = usp; in copy_thread()
1693 p->thread.regs = childregs; in copy_thread()
1696 childregs->gpr[3] = 0; /* Result from fork() */ in copy_thread()
1699 childregs->gpr[13] = tls; in copy_thread()
1701 childregs->gpr[2] = tls; in copy_thread()
1709 childregs->msr &= ~(MSR_FP|MSR_VEC|MSR_VSX); in copy_thread()
1746 childregs->ppr = DEFAULT_PPR; in copy_thread()