diff options
author | Yinghai Lu <yinghai@kernel.org> | 2010-02-10 04:20:33 -0500 |
---|---|---|
committer | H. Peter Anvin <hpa@zytor.com> | 2010-02-17 20:26:33 -0500 |
commit | 773e3eb7b81e5ba13b5155dfb3bb75b8ce37f8f9 (patch) | |
tree | 187087a38df05178c05cf1a7cbe9ba4e0680c853 | |
parent | febcb0c59ac19fef2081a30e371e7af3619b5e91 (diff) |
init: Move radix_tree_init() early
Prepare for using radix trees in early_irq_init().
Signed-off-by: Yinghai Lu <yinghai@kernel.org>
LKML-Reference: <1265793639-15071-30-git-send-email-yinghai@kernel.org>
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
-rw-r--r-- | init/main.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/init/main.c b/init/main.c index 4cb47a159f0..845187822e5 100644 --- a/init/main.c +++ b/init/main.c | |||
@@ -584,6 +584,7 @@ asmlinkage void __init start_kernel(void) | |||
584 | local_irq_disable(); | 584 | local_irq_disable(); |
585 | } | 585 | } |
586 | rcu_init(); | 586 | rcu_init(); |
587 | radix_tree_init(); | ||
587 | /* init some links before init_ISA_irqs() */ | 588 | /* init some links before init_ISA_irqs() */ |
588 | early_irq_init(); | 589 | early_irq_init(); |
589 | init_IRQ(); | 590 | init_IRQ(); |
@@ -657,7 +658,6 @@ asmlinkage void __init start_kernel(void) | |||
657 | proc_caches_init(); | 658 | proc_caches_init(); |
658 | buffer_init(); | 659 | buffer_init(); |
659 | key_init(); | 660 | key_init(); |
660 | radix_tree_init(); | ||
661 | security_init(); | 661 | security_init(); |
662 | vfs_caches_init(totalram_pages); | 662 | vfs_caches_init(totalram_pages); |
663 | signals_init(); | 663 | signals_init(); |