From: Philippe Gerum <[email protected]>

Signed-off-by: Philippe Gerum <[email protected]>
---
 kernel/fork.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/kernel/fork.c b/kernel/fork.c
index e73964a45fb5..a5d3aa5dd4c7 100644
--- a/kernel/fork.c
+++ b/kernel/fork.c
@@ -845,8 +845,10 @@ static struct task_struct *dup_task_struct(struct 
task_struct *orig, int node)
 #endif
 
        setup_thread_stack(tsk, orig);
+#ifdef CONFIG_IPIPE
        __ipipe_init_threadflags(task_thread_info(tsk));
        __ipipe_init_threadinfo(&task_thread_info(tsk)->ipipe_data);
+#endif
        clear_user_return_notifier(tsk);
        clear_tsk_need_resched(tsk);
        set_task_stack_end_magic(tsk);
-- 
2.26.2


Reply via email to