Merge commit 'v2.6.30-rc1' into perfcounters/core
[safe/jmp/linux-2.6] / kernel / fork.c
index 989c7c2..89c1efb 100644 (file)
@@ -978,6 +978,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);