|
@@ -217,6 +217,7 @@ int copy_thread(unsigned long clone_flags, unsigned long new_stackp,
|
|
|
p->thread.mm_segment = get_fs();
|
|
|
/* Don't copy debug registers */
|
|
|
memset(&p->thread.per_info, 0, sizeof(p->thread.per_info));
|
|
|
+ clear_tsk_thread_flag(p, TIF_SINGLE_STEP);
|
|
|
/* Initialize per thread user and system timer values */
|
|
|
ti = task_thread_info(p);
|
|
|
ti->user_timer = 0;
|