Home
last modified time | relevance | path

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

/linux-4.1.27/arch/mn10300/kernel/
Dprocess.c148 struct pt_regs *c_regs; in copy_thread() local
155 c_regs = (struct pt_regs *) c_ksp; in copy_thread()
159 p->thread.uregs = c_regs; in copy_thread()
160 ti->frame = c_regs; in copy_thread()
161 p->thread.a3 = (unsigned long) c_regs; in copy_thread()
167 memset(c_regs, 0, sizeof(struct pt_regs)); in copy_thread()
168 c_regs->a0 = c_usp; /* function */ in copy_thread()
169 c_regs->d0 = ustk_size; /* argument */ in copy_thread()
170 local_save_flags(c_regs->epsw); in copy_thread()
171 c_regs->epsw |= EPSW_IE | EPSW_IM_7; in copy_thread()
[all …]
/linux-4.1.27/arch/arc/kernel/
Dprocess.c90 struct pt_regs *c_regs; /* child's pt_regs */ in copy_thread() local
97 c_regs = task_pt_regs(p); in copy_thread()
98 childksp = (unsigned long *)c_regs - 2; /* 2 words for FP/BLINK */ in copy_thread()
116 memset(c_regs, 0, sizeof(struct pt_regs)); in copy_thread()
131 *c_regs = *regs; in copy_thread()
134 c_regs->sp = usp; in copy_thread()
136 c_regs->r0 = 0; /* fork returns 0 in child */ in copy_thread()