diff options
Diffstat (limited to 'kernel/fork.c')
-rw-r--r-- | kernel/fork.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/kernel/fork.c b/kernel/fork.c index 2a372a0e206f..441fadff1fa4 100644 --- a/kernel/fork.c +++ b/kernel/fork.c | |||
@@ -975,6 +975,7 @@ static struct task_struct *copy_process(unsigned long clone_flags, | |||
975 | goto fork_out; | 975 | goto fork_out; |
976 | 976 | ||
977 | rt_mutex_init_task(p); | 977 | rt_mutex_init_task(p); |
978 | perf_counter_init_task(p); | ||
978 | 979 | ||
979 | #ifdef CONFIG_PROVE_LOCKING | 980 | #ifdef CONFIG_PROVE_LOCKING |
980 | DEBUG_LOCKS_WARN_ON(!p->hardirqs_enabled); | 981 | DEBUG_LOCKS_WARN_ON(!p->hardirqs_enabled); |