aboutsummaryrefslogtreecommitdiffstats
path: root/litmus/litmus.c
diff options
context:
space:
mode:
Diffstat (limited to 'litmus/litmus.c')
-rw-r--r--litmus/litmus.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/litmus/litmus.c b/litmus/litmus.c
index 589062f8ab87..3cf7cb9e8a9f 100644
--- a/litmus/litmus.c
+++ b/litmus/litmus.c
@@ -418,6 +418,9 @@ void litmus_fork(struct task_struct* p)
418 else 418 else
419 /* non-rt tasks might have ctrl_page set */ 419 /* non-rt tasks might have ctrl_page set */
420 tsk_rt(p)->ctrl_page = NULL; 420 tsk_rt(p)->ctrl_page = NULL;
421
422 /* od tables are never inherited across a fork */
423 p->od_table = NULL;
421} 424}
422 425
423/* Called upon execve(). 426/* Called upon execve().