Home
last modified time | relevance | path

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

/arch/ia64/kernel/
Dprocess.c304 struct pt_regs *child_ptregs; in copy_thread() local
308 child_ptregs = (struct pt_regs *) ((unsigned long) p + IA64_STK_OFFSET) - 1; in copy_thread()
309 child_stack = (struct switch_stack *) child_ptregs - 1; in copy_thread()
346 memset(child_stack, 0, sizeof(*child_ptregs) + sizeof(*child_stack)); in copy_thread()
353 child_ptregs->cr_ipsr = ia64_getreg(_IA64_REG_PSR) | IA64_PSR_BN; in copy_thread()
355 child_ptregs->cr_ifs = 1UL << 63; in copy_thread()
356 child_stack->ar_fpsr = child_ptregs->ar_fpsr in copy_thread()
367 child_ptregs->cr_ipsr = ((child_ptregs->cr_ipsr | IA64_PSR_BITS_TO_SET) in copy_thread()
374 memcpy(child_stack, stack, sizeof(*child_ptregs) + sizeof(*child_stack)); in copy_thread()
380 child_ptregs->r13 = tls; in copy_thread()
[all …]