Lines Matching refs:childregs
1716 struct pt_regs *childregs, *kregs; in copy_thread() local
1731 childregs = (struct pt_regs *) sp; in copy_thread()
1734 memset(childregs, 0, sizeof(struct pt_regs)); in copy_thread()
1735 childregs->gpr[1] = sp + sizeof(struct pt_regs); in copy_thread()
1738 childregs->gpr[14] = ppc_function_entry((void *)args->fn); in copy_thread()
1741 childregs->softe = IRQS_ENABLED; in copy_thread()
1743 childregs->gpr[15] = (unsigned long)args->fn_arg; in copy_thread()
1750 *childregs = *regs; in copy_thread()
1752 childregs->gpr[1] = usp; in copy_thread()
1753 p->thread.regs = childregs; in copy_thread()
1756 childregs->gpr[3] = 0; /* Result from fork() */ in copy_thread()
1759 childregs->gpr[13] = tls; in copy_thread()
1761 childregs->gpr[2] = tls; in copy_thread()
1769 childregs->msr &= ~(MSR_FP|MSR_VEC|MSR_VSX); in copy_thread()
1811 childregs->ppr = DEFAULT_PPR; in copy_thread()