aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/fork.c
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/fork.c')
-rw-r--r--kernel/fork.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/fork.c b/kernel/fork.c
index 889730cce3ad..9fad346d7029 100644
--- a/kernel/fork.c
+++ b/kernel/fork.c
@@ -249,7 +249,7 @@ static struct task_struct *dup_task_struct(struct task_struct *orig)
249 tsk->stack = ti; 249 tsk->stack = ti;
250 250
251 /* Don't let the new task be a real-time task. */ 251 /* Don't let the new task be a real-time task. */
252 memset(&tsk->rt_param, 0, sizeof(struct rt_task)); 252 litmus_fork(tsk);
253 253
254 err = prop_local_init_single(&tsk->dirties); 254 err = prop_local_init_single(&tsk->dirties);
255 if (err) 255 if (err)