Merge branch 'linus' into perfcounters/core-v2
[pandora-kernel.git] / kernel / fork.c
index 660c2b8..381d7f9 100644 (file)
@@ -975,6 +975,7 @@ static struct task_struct *copy_process(unsigned long clone_flags,
                goto fork_out;
 
        rt_mutex_init_task(p);
+       perf_counter_init_task(p);
 
 #ifdef CONFIG_PROVE_LOCKING
        DEBUG_LOCKS_WARN_ON(!p->hardirqs_enabled);