Skip to content

Commit ad2b135

Browse files
committed
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: Thomas Gleixner <[email protected]> Link: http://lkml.kernel.org/r/[email protected] Cc: Rusty Russell <[email protected]>
1 parent 6dbe51c commit ad2b135

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

init/main.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -494,7 +494,6 @@ asmlinkage void __init start_kernel(void)
494494
* Interrupts are still disabled. Do necessary setups, then
495495
* enable them
496496
*/
497-
tick_init();
498497
boot_cpu_init();
499498
page_address_init();
500499
printk(KERN_NOTICE "%s", linux_banner);
@@ -551,6 +550,7 @@ asmlinkage void __init start_kernel(void)
551550
/* init some links before init_ISA_irqs() */
552551
early_irq_init();
553552
init_IRQ();
553+
tick_init();
554554
init_timers();
555555
hrtimers_init();
556556
softirq_init();

0 commit comments

Comments
 (0)