提交 ad2b1353 编写于 作者: T Thomas Gleixner

tick: Call tick_init late

To convert the clockevents code to cpumask_var_t we need to move the
init call after the allocator setup. 

Clockevents are earliest registered from time_init() as they need
interrupts being set up, so this is safe.
Signed-off-by: NThomas Gleixner <tglx@linutronix.de>
Link: http://lkml.kernel.org/r/20130306111537.304379448@linutronix.de
Cc: Rusty Russell <rusty@rustcorp.com.au>
上级 6dbe51c2
...@@ -494,7 +494,6 @@ asmlinkage void __init start_kernel(void) ...@@ -494,7 +494,6 @@ asmlinkage void __init start_kernel(void)
* Interrupts are still disabled. Do necessary setups, then * Interrupts are still disabled. Do necessary setups, then
* enable them * enable them
*/ */
tick_init();
boot_cpu_init(); boot_cpu_init();
page_address_init(); page_address_init();
printk(KERN_NOTICE "%s", linux_banner); printk(KERN_NOTICE "%s", linux_banner);
...@@ -551,6 +550,7 @@ asmlinkage void __init start_kernel(void) ...@@ -551,6 +550,7 @@ asmlinkage void __init start_kernel(void)
/* init some links before init_ISA_irqs() */ /* init some links before init_ISA_irqs() */
early_irq_init(); early_irq_init();
init_IRQ(); init_IRQ();
tick_init();
init_timers(); init_timers();
hrtimers_init(); hrtimers_init();
softirq_init(); softirq_init();
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册