projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6dbe51c
)
tick: Call tick_init late
author
Thomas Gleixner
<
[email protected]
>
Tue, 5 Mar 2013 14:14:05 +0000
(15:14 +0100)
committer
Thomas Gleixner
<
[email protected]
>
Thu, 7 Mar 2013 15:13:25 +0000
(16:13 +0100)
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]
>
init/main.c
patch
|
blob
|
history
diff --git
a/init/main.c
b/init/main.c
index 63534a141b4eb6c0f36c5ac0d99d2733028ff96e..b3e061428545cf29a386bab98c18a0c4c4fa5a1f 100644
(file)
--- a/
init/main.c
+++ b/
init/main.c
@@
-494,7
+494,6
@@
asmlinkage void __init start_kernel(void)
* Interrupts are still disabled. Do necessary setups, then
* enable them
*/
- tick_init();
boot_cpu_init();
page_address_init();
printk(KERN_NOTICE "%s", linux_banner);
@@
-551,6
+550,7
@@
asmlinkage void __init start_kernel(void)
/* init some links before init_ISA_irqs() */
early_irq_init();
init_IRQ();
+ tick_init();
init_timers();
hrtimers_init();
softirq_init();