Home
last modified time | relevance | path

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

/linux-4.4.14/arch/cris/arch-v32/kernel/
Dprocess.c109 struct switch_stack *swstack = ((struct switch_stack *) childregs) - 1; in copy_thread() local
117 memset(swstack, 0, in copy_thread()
119 swstack->r1 = usp; in copy_thread()
120 swstack->r2 = arg; in copy_thread()
122 swstack->return_ip = (unsigned long) ret_from_kernel_thread; in copy_thread()
123 p->thread.ksp = (unsigned long) swstack; in copy_thread()
140 swstack->r9 = 0; in copy_thread()
146 swstack->return_ip = (unsigned long) ret_from_fork; in copy_thread()
150 p->thread.ksp = (unsigned long) swstack; in copy_thread()
/linux-4.4.14/arch/cris/arch-v10/kernel/
Dprocess.c101 struct switch_stack *swstack = ((struct switch_stack *)childregs) - 1; in copy_thread() local
108 memset(swstack, 0, in copy_thread()
110 swstack->r1 = usp; in copy_thread()
111 swstack->r2 = arg; in copy_thread()
113 swstack->return_ip = (unsigned long) ret_from_kernel_thread; in copy_thread()
114 p->thread.ksp = (unsigned long) swstack; in copy_thread()
124 swstack->r9 = 0; /* parameter to ret_from_sys_call, 0 == dont restart the syscall */ in copy_thread()
128 swstack->return_ip = (unsigned long) ret_from_fork; /* Will call ret_from_sys_call */ in copy_thread()
136 p->thread.ksp = (unsigned long) swstack; in copy_thread()