summaryrefslogtreecommitdiff
path: root/kernel
diff options
context:
space:
mode:
authorPeter Zijlstra <a.p.zijlstra@chello.nl>2010-11-18 01:17:33 +0300
committerIngo Molnar <mingo@elte.hu>2010-12-16 13:36:42 +0300
commit24a24bb6ff3dc3a09bb131241be920ecc3f0e519 (patch)
tree181eca7d23ba93af11304683a309e18b697a15b0 /kernel
parent4407204c5c9037763aadce39b025529dfbfcac9e (diff)
downloadlinux-24a24bb6ff3dc3a09bb131241be920ecc3f0e519.tar.xz
perf: Move perf_event_init() into main.c
Currently we call perf_event_init() from sched_init(). In order to make it more obvious move it to the cannnonical location. Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl> LKML-Reference: <20101117222056.093629821@chello.nl> Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'kernel')
-rw-r--r--kernel/sched.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/kernel/sched.c b/kernel/sched.c
index dc91a4d09ac3..605ab1b24d81 100644
--- a/kernel/sched.c
+++ b/kernel/sched.c
@@ -8108,8 +8108,6 @@ void __init sched_init(void)
zalloc_cpumask_var(&cpu_isolated_map, GFP_NOWAIT);
#endif /* SMP */
- perf_event_init();
-
scheduler_running = 1;
}