ipc: always handle a new value of auto_msgmni
[linux-2.6-block.git] / init / main.c
index bb1aed928f21391b63493112c6bb1a1eae39077f..89ec862da2d49e8fca7b7475b3764f1f9b127901 100644 (file)
@@ -508,6 +508,7 @@ asmlinkage __visible void __init start_kernel(void)
         * lockdep hash:
         */
        lockdep_init();
+       set_task_stack_end_magic(&init_task);
        smp_setup_processor_id();
        debug_objects_early_init();
 
@@ -577,13 +578,13 @@ asmlinkage __visible void __init start_kernel(void)
                local_irq_disable();
        idr_init_cache();
        rcu_init();
-       tick_nohz_init();
        context_tracking_init();
        radix_tree_init();
        /* init some links before init_ISA_irqs() */
        early_irq_init();
        init_IRQ();
        tick_init();
+       rcu_init_nohz();
        init_timers();
        hrtimers_init();
        softirq_init();