Lines Matching refs:childregs
1137 struct pt_regs *childregs, *kregs; in copy_thread() local
1145 childregs = (struct pt_regs *) sp; in copy_thread()
1149 memset(childregs, 0, sizeof(struct pt_regs)); in copy_thread()
1150 childregs->gpr[1] = sp + sizeof(struct pt_regs); in copy_thread()
1153 childregs->gpr[14] = ppc_function_entry((void *)usp); in copy_thread()
1156 childregs->softe = 1; in copy_thread()
1158 childregs->gpr[15] = kthread_arg; in copy_thread()
1166 *childregs = *regs; in copy_thread()
1168 childregs->gpr[1] = usp; in copy_thread()
1169 p->thread.regs = childregs; in copy_thread()
1170 childregs->gpr[3] = 0; /* Result from fork() */ in copy_thread()
1174 childregs->gpr[13] = childregs->gpr[6]; in copy_thread()
1177 childregs->gpr[2] = childregs->gpr[6]; in copy_thread()