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

/linux-4.1.27/arch/arc/kernel/
H A Dprocess.c91 unsigned long *childksp; /* to unwind out of __switch_to() */ copy_thread() local
98 childksp = (unsigned long *)c_regs - 2; /* 2 words for FP/BLINK */ copy_thread()
99 c_callee = ((struct callee_regs *)childksp) - 1; copy_thread()
112 childksp[0] = 0; /* fp */ copy_thread()
113 childksp[1] = (unsigned long)ret_from_fork; /* blink */ copy_thread()
127 childksp[0] = 0; /* for POP fp */ copy_thread()
128 childksp[1] = (unsigned long)ret_from_fork; /* for POP blink */ copy_thread()
/linux-4.1.27/arch/mips/kernel/
H A Dprocess.c118 unsigned long childksp; copy_thread() local
121 childksp = (unsigned long)task_stack_page(p) + THREAD_SIZE - 32; copy_thread()
124 childregs = (struct pt_regs *) childksp - 1; copy_thread()
126 childksp = (unsigned long) childregs; copy_thread()
135 p->thread.reg29 = childksp; copy_thread()

Completed in 74 milliseconds