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

/linux-4.1.27/arch/ia64/kernel/
H A Dprocess.c341 struct pt_regs *child_ptregs; copy_thread() local
345 child_ptregs = (struct pt_regs *) ((unsigned long) p + IA64_STK_OFFSET) - 1; copy_thread()
346 child_stack = (struct switch_stack *) child_ptregs - 1; copy_thread()
383 memset(child_stack, 0, sizeof(*child_ptregs) + sizeof(*child_stack)); copy_thread()
390 child_ptregs->cr_ipsr = ia64_getreg(_IA64_REG_PSR) | IA64_PSR_BN; copy_thread()
392 child_ptregs->cr_ifs = 1UL << 63; copy_thread()
393 child_stack->ar_fpsr = child_ptregs->ar_fpsr copy_thread()
404 child_ptregs->cr_ipsr = ((child_ptregs->cr_ipsr | IA64_PSR_BITS_TO_SET) copy_thread()
411 memcpy(child_stack, stack, sizeof(*child_ptregs) + sizeof(*child_stack)); copy_thread()
417 child_ptregs->r13 = regs->r16; /* see sys_clone2() in entry.S */ copy_thread()
419 child_ptregs->r12 = user_stack_base + user_stack_size - 16; copy_thread()
420 child_ptregs->ar_bspstore = user_stack_base; copy_thread()
421 child_ptregs->ar_rnat = 0; copy_thread()
422 child_ptregs->loadrs = 0; copy_thread()
432 child_ptregs->cr_ipsr = ((child_ptregs->cr_ipsr | IA64_PSR_BITS_TO_SET) copy_thread()
437 pfm_inherit(p, child_ptregs); copy_thread()

Completed in 88 milliseconds