diff options
Diffstat (limited to 'kernel/fork.c')
-rw-r--r-- | kernel/fork.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/kernel/fork.c b/kernel/fork.c index 8a97e92c604f..3e764f6f2be1 100644 --- a/kernel/fork.c +++ b/kernel/fork.c | |||
@@ -1156,13 +1156,14 @@ static struct task_struct *copy_process(unsigned long clone_flags, | |||
1156 | * Clear TID on mm_release()? | 1156 | * Clear TID on mm_release()? |
1157 | */ | 1157 | */ |
1158 | p->clear_child_tid = (clone_flags & CLONE_CHILD_CLEARTID) ? child_tidptr: NULL; | 1158 | p->clear_child_tid = (clone_flags & CLONE_CHILD_CLEARTID) ? child_tidptr: NULL; |
1159 | #ifdef CONFIG_FUTEX | ||
1159 | p->robust_list = NULL; | 1160 | p->robust_list = NULL; |
1160 | #ifdef CONFIG_COMPAT | 1161 | #ifdef CONFIG_COMPAT |
1161 | p->compat_robust_list = NULL; | 1162 | p->compat_robust_list = NULL; |
1162 | #endif | 1163 | #endif |
1163 | INIT_LIST_HEAD(&p->pi_state_list); | 1164 | INIT_LIST_HEAD(&p->pi_state_list); |
1164 | p->pi_state_cache = NULL; | 1165 | p->pi_state_cache = NULL; |
1165 | 1166 | #endif | |
1166 | /* | 1167 | /* |
1167 | * sigaltstack should be cleared when sharing the same VM | 1168 | * sigaltstack should be cleared when sharing the same VM |
1168 | */ | 1169 | */ |