init: Move radix_tree_init() early
authorYinghai Lu <yinghai@kernel.org>
Wed, 10 Feb 2010 09:20:33 +0000 (01:20 -0800)
committerH. Peter Anvin <hpa@zytor.com>
Thu, 18 Feb 2010 01:26:33 +0000 (17:26 -0800)
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>
init/main.c

index 4cb47a1..8451878 100644 (file)
@@ -584,6 +584,7 @@ asmlinkage void __init start_kernel(void)
                local_irq_disable();
        }
        rcu_init();
+       radix_tree_init();
        /* init some links before init_ISA_irqs() */
        early_irq_init();
        init_IRQ();
@@ -657,7 +658,6 @@ asmlinkage void __init start_kernel(void)
        proc_caches_init();
        buffer_init();
        key_init();
-       radix_tree_init();
        security_init();
        vfs_caches_init(totalram_pages);
        signals_init();