aboutsummaryrefslogtreecommitdiffstats
path: root/init
diff options
context:
space:
mode:
authorPeter Zijlstra <a.p.zijlstra@chello.nl>2010-11-17 17:17:35 -0500
committerIngo Molnar <mingo@elte.hu>2010-12-16 05:36:43 -0500
commit9f58a205c62d0dad1df38d076324a89b1a0f1d65 (patch)
tree57c7538b7d648d8d7bf4b4c395a61d778c86f73f /init
parent24a24bb6ff3dc3a09bb131241be920ecc3f0e519 (diff)
init: Initialized IDR earlier
perf_event_init() wants to start using IDR trees, its needs in turn are satisfied by mm_init(). Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl> LKML-Reference: <20101117222056.206992649@chello.nl> Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'init')
-rw-r--r--init/main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/init/main.c b/init/main.c
index 559e86286500..ea51770c0170 100644
--- a/init/main.c
+++ b/init/main.c
@@ -604,6 +604,7 @@ asmlinkage void __init start_kernel(void)
604 "enabled *very* early, fixing it\n"); 604 "enabled *very* early, fixing it\n");
605 local_irq_disable(); 605 local_irq_disable();
606 } 606 }
607 idr_init_cache();
607 perf_event_init(); 608 perf_event_init();
608 rcu_init(); 609 rcu_init();
609 radix_tree_init(); 610 radix_tree_init();
@@ -660,7 +661,6 @@ asmlinkage void __init start_kernel(void)
660 enable_debug_pagealloc(); 661 enable_debug_pagealloc();
661 kmemleak_init(); 662 kmemleak_init();
662 debug_objects_mem_init(); 663 debug_objects_mem_init();
663 idr_init_cache();
664 setup_per_cpu_pageset(); 664 setup_per_cpu_pageset();
665 numa_policy_init(); 665 numa_policy_init();
666 if (late_time_init) 666 if (late_time_init)