Home
last modified time | relevance | path

Searched refs:child_ptregs (Results 1 – 1 of 1) sorted by relevance

/linux-2.6.39/arch/ia64/kernel/
Dprocess.c421 struct pt_regs *child_ptregs; in copy_thread() local
435 child_ptregs = (struct pt_regs *) ((unsigned long) p + IA64_STK_OFFSET) - 1; in copy_thread()
436 child_stack = (struct switch_stack *) child_ptregs - 1; in copy_thread()
439 memcpy(child_stack, stack, sizeof(*child_ptregs) + sizeof(*child_stack)); in copy_thread()
448 if (likely(user_mode(child_ptregs))) { in copy_thread()
450 child_ptregs->r13 = regs->r16; /* see sys_clone2() in entry.S */ in copy_thread()
452 child_ptregs->r12 = user_stack_base + user_stack_size - 16; in copy_thread()
453 child_ptregs->ar_bspstore = user_stack_base; in copy_thread()
454 child_ptregs->ar_rnat = 0; in copy_thread()
455 child_ptregs->loadrs = 0; in copy_thread()
[all …]