Home
last modified time | relevance | path

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

/openbmc/linux/arch/arc/kernel/
H A Dprocess.c173 unsigned long *childksp; /* to unwind out of __switch_to() */ in copy_thread() local
180 childksp = (unsigned long *)c_regs - 2; /* 2 words for FP/BLINK */ in copy_thread()
181 c_callee = ((struct callee_regs *)childksp) - 1; in copy_thread()
194 childksp[0] = 0; /* fp */ in copy_thread()
195 childksp[1] = (unsigned long)ret_from_fork; /* blink */ in copy_thread()
209 childksp[0] = 0; /* for POP fp */ in copy_thread()
210 childksp[1] = (unsigned long)ret_from_fork; /* for POP blink */ in copy_thread()
/openbmc/linux/arch/loongarch/kernel/
H A Dprocess.c146 unsigned long childksp; in copy_thread() local
152 childksp = (unsigned long)task_stack_page(p) + THREAD_SIZE; in copy_thread()
155 childregs = (struct pt_regs *) childksp - 1; in copy_thread()
157 childksp = (unsigned long) childregs; in copy_thread()
165 p->thread.reg03 = childksp; in copy_thread()
/openbmc/linux/arch/mips/kernel/
H A Dprocess.c115 unsigned long childksp; in copy_thread() local
117 childksp = (unsigned long)task_stack_page(p) + THREAD_SIZE - 32; in copy_thread()
120 childregs = (struct pt_regs *) childksp - 1; in copy_thread()
122 childksp = (unsigned long) childregs; in copy_thread()
143 p->thread.reg29 = childksp; in copy_thread()