aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/fork.c
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/fork.c')
-rw-r--r--kernel/fork.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/kernel/fork.c b/kernel/fork.c
index 6144b36cd897..cb706599057f 100644
--- a/kernel/fork.c
+++ b/kernel/fork.c
@@ -974,6 +974,7 @@ static struct task_struct *copy_process(unsigned long clone_flags,
974 goto fork_out; 974 goto fork_out;
975 975
976 rt_mutex_init_task(p); 976 rt_mutex_init_task(p);
977 perf_counter_init_task(p);
977 978
978#ifdef CONFIG_PROVE_LOCKING 979#ifdef CONFIG_PROVE_LOCKING
979 DEBUG_LOCKS_WARN_ON(!p->hardirqs_enabled); 980 DEBUG_LOCKS_WARN_ON(!p->hardirqs_enabled);