diff options
Diffstat (limited to 'litmus/litmus.c')
-rwxr-xr-x[-rw-r--r--] | litmus/litmus.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/litmus/litmus.c b/litmus/litmus.c index cfd14852502b..8bc159b2fcce 100644..100755 --- a/litmus/litmus.c +++ b/litmus/litmus.c | |||
@@ -634,6 +634,14 @@ void litmus_fork(struct task_struct* p) | |||
634 | p->od_table = NULL; | 634 | p->od_table = NULL; |
635 | } | 635 | } |
636 | 636 | ||
637 | /* Called right before copy_process() returns a forked thread. */ | ||
638 | void litmus_post_fork_thread(struct task_struct* p) | ||
639 | { | ||
640 | #ifdef CONFIG_REALTIME_AUX_TASKS | ||
641 | make_aux_task_if_required(p); | ||
642 | #endif | ||
643 | } | ||
644 | |||
637 | /* Called upon execve(). | 645 | /* Called upon execve(). |
638 | * current is doing the exec. | 646 | * current is doing the exec. |
639 | * Don't let address space specific stuff leak. | 647 | * Don't let address space specific stuff leak. |