Home
last modified time | relevance | path

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

/Linux-v5.10/arch/arc/kernel/
Dprocess.c170 unsigned long *childksp; /* to unwind out of __switch_to() */ in copy_thread() local
177 childksp = (unsigned long *)c_regs - 2; /* 2 words for FP/BLINK */ in copy_thread()
178 c_callee = ((struct callee_regs *)childksp) - 1; in copy_thread()
191 childksp[0] = 0; /* fp */ in copy_thread()
192 childksp[1] = (unsigned long)ret_from_fork; /* blink */ in copy_thread()
206 childksp[0] = 0; /* for POP fp */ in copy_thread()
207 childksp[1] = (unsigned long)ret_from_fork; /* for POP blink */ in copy_thread()
/Linux-v5.10/arch/mips/kernel/
Dprocess.c129 unsigned long childksp; in copy_thread() local
131 childksp = (unsigned long)task_stack_page(p) + THREAD_SIZE - 32; in copy_thread()
134 childregs = (struct pt_regs *) childksp - 1; in copy_thread()
136 childksp = (unsigned long) childregs; in copy_thread()
145 p->thread.reg29 = childksp; in copy_thread()