Lines Matching refs:childregs
1687 struct pt_regs *childregs, *kregs; in copy_thread() local
1702 childregs = (struct pt_regs *) sp; in copy_thread()
1705 memset(childregs, 0, sizeof(struct pt_regs)); in copy_thread()
1706 childregs->gpr[1] = sp + sizeof(struct pt_regs); in copy_thread()
1709 childregs->gpr[14] = ppc_function_entry((void *)usp); in copy_thread()
1712 childregs->softe = IRQS_ENABLED; in copy_thread()
1714 childregs->gpr[15] = kthread_arg; in copy_thread()
1721 *childregs = *regs; in copy_thread()
1723 childregs->gpr[1] = usp; in copy_thread()
1724 p->thread.regs = childregs; in copy_thread()
1727 childregs->gpr[3] = 0; /* Result from fork() */ in copy_thread()
1730 childregs->gpr[13] = tls; in copy_thread()
1732 childregs->gpr[2] = tls; in copy_thread()
1740 childregs->msr &= ~(MSR_FP|MSR_VEC|MSR_VSX); in copy_thread()
1779 childregs->ppr = DEFAULT_PPR; in copy_thread()