diff options
Diffstat (limited to 'kernel/fork.c')
-rw-r--r-- | kernel/fork.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/kernel/fork.c b/kernel/fork.c index b7db7fb74f53..7f48abdd7bb6 100644 --- a/kernel/fork.c +++ b/kernel/fork.c | |||
@@ -1061,6 +1061,11 @@ static task_t *copy_process(unsigned long clone_flags, | |||
1061 | p->hardirq_context = 0; | 1061 | p->hardirq_context = 0; |
1062 | p->softirq_context = 0; | 1062 | p->softirq_context = 0; |
1063 | #endif | 1063 | #endif |
1064 | #ifdef CONFIG_LOCKDEP | ||
1065 | p->lockdep_depth = 0; /* no locks held yet */ | ||
1066 | p->curr_chain_key = 0; | ||
1067 | p->lockdep_recursion = 0; | ||
1068 | #endif | ||
1064 | 1069 | ||
1065 | rt_mutex_init_task(p); | 1070 | rt_mutex_init_task(p); |
1066 | 1071 | ||