Searched refs:child_trap_frame (Results 1 – 1 of 1) sorted by relevance
606 char *child_trap_frame; in copy_thread() local614 child_trap_frame = ((char *)p) + (THREAD_SIZE - (TRACEREG_SZ+STACKFRAME_SZ)); in copy_thread()615 memcpy(child_trap_frame, (((struct sparc_stackf *)regs)-1), (TRACEREG_SZ+STACKFRAME_SZ)); in copy_thread()616 t->ksp = ((unsigned long) child_trap_frame) - STACK_BIAS; in copy_thread()618 t->kregs = (struct pt_regs *)(child_trap_frame+sizeof(struct sparc_stackf)); in copy_thread()