Lines Matching refs:childregs
1138 struct pt_regs *childregs, *kregs; in copy_thread() local
1146 childregs = (struct pt_regs *) sp; in copy_thread()
1150 memset(childregs, 0, sizeof(struct pt_regs)); in copy_thread()
1151 childregs->gpr[1] = sp + sizeof(struct pt_regs); in copy_thread()
1154 childregs->gpr[14] = ppc_function_entry((void *)usp); in copy_thread()
1157 childregs->softe = 1; in copy_thread()
1159 childregs->gpr[15] = kthread_arg; in copy_thread()
1167 *childregs = *regs; in copy_thread()
1169 childregs->gpr[1] = usp; in copy_thread()
1170 p->thread.regs = childregs; in copy_thread()
1171 childregs->gpr[3] = 0; /* Result from fork() */ in copy_thread()
1175 childregs->gpr[13] = childregs->gpr[6]; in copy_thread()
1178 childregs->gpr[2] = childregs->gpr[6]; in copy_thread()