Commit 773e3eb7 authored by Yinghai Lu's avatar Yinghai Lu Committed by H. Peter Anvin

init: Move radix_tree_init() early

Prepare for using radix trees in early_irq_init().
Signed-off-by: default avatarYinghai Lu <yinghai@kernel.org>
LKML-Reference: <1265793639-15071-30-git-send-email-yinghai@kernel.org>
Signed-off-by: default avatarH. Peter Anvin <hpa@zytor.com>
parent febcb0c5
...@@ -584,6 +584,7 @@ asmlinkage void __init start_kernel(void) ...@@ -584,6 +584,7 @@ asmlinkage void __init start_kernel(void)
local_irq_disable(); local_irq_disable();
} }
rcu_init(); rcu_init();
radix_tree_init();
/* init some links before init_ISA_irqs() */ /* init some links before init_ISA_irqs() */
early_irq_init(); early_irq_init();
init_IRQ(); init_IRQ();
...@@ -657,7 +658,6 @@ asmlinkage void __init start_kernel(void) ...@@ -657,7 +658,6 @@ asmlinkage void __init start_kernel(void)
proc_caches_init(); proc_caches_init();
buffer_init(); buffer_init();
key_init(); key_init();
radix_tree_init();
security_init(); security_init();
vfs_caches_init(totalram_pages); vfs_caches_init(totalram_pages);
signals_init(); signals_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