Commit 9f58a205 authored by Peter Zijlstra's avatar Peter Zijlstra Committed by Ingo Molnar

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: default avatarPeter Zijlstra <a.p.zijlstra@chello.nl>
LKML-Reference: <20101117222056.206992649@chello.nl>
Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
parent 24a24bb6
...@@ -604,6 +604,7 @@ asmlinkage void __init start_kernel(void) ...@@ -604,6 +604,7 @@ asmlinkage void __init start_kernel(void)
"enabled *very* early, fixing it\n"); "enabled *very* early, fixing it\n");
local_irq_disable(); local_irq_disable();
} }
idr_init_cache();
perf_event_init(); perf_event_init();
rcu_init(); rcu_init();
radix_tree_init(); radix_tree_init();
...@@ -660,7 +661,6 @@ asmlinkage void __init start_kernel(void) ...@@ -660,7 +661,6 @@ asmlinkage void __init start_kernel(void)
enable_debug_pagealloc(); enable_debug_pagealloc();
kmemleak_init(); kmemleak_init();
debug_objects_mem_init(); debug_objects_mem_init();
idr_init_cache();
setup_per_cpu_pageset(); setup_per_cpu_pageset();
numa_policy_init(); numa_policy_init();
if (late_time_init) if (late_time_init)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment