clone_thread: Add arch_clone_thread()
Fujitsu: POSTK_DEBUG_ARCH_DEP_23 Refs: #969 Change-Id: Ic15765b8c9e956c95fc50b333b01464d87450d3c
This commit is contained in:
committed by
Dominique Martinet
parent
9db8d115d9
commit
fb98664f49
@ -408,9 +408,7 @@ clone_thread(struct thread *org, unsigned long pc, unsigned long sp,
|
||||
/* copy fp_regs from parent */
|
||||
save_fp_regs(org);
|
||||
copy_fp_regs(org, thread);
|
||||
#ifdef POSTK_DEBUG_ARCH_DEP_23 /* add arch dep. clone_process() function */
|
||||
arch_clone_thread(org, pc, sp, thread);
|
||||
#endif /* POSTK_DEBUG_ARCH_DEP_23 */
|
||||
|
||||
memcpy(thread->uctx, org->uctx, sizeof(*org->uctx));
|
||||
ihk_mc_modify_user_context(thread->uctx, IHK_UCR_STACK_POINTER, sp);
|
||||
|
||||
Reference in New Issue
Block a user