[PATCH] Move unwind_init earlier

Needed for use of the unwinder in lockdep, because lockdep runs really
early too.

Cc: jbeulich@novell.com

Signed-off-by: Andi Kleen <ak@suse.de>
This commit is contained in:
Andi Kleen 2006-09-26 10:52:34 +02:00 committed by Andi Kleen
parent b7f5e3c774
commit c9538ed492
1 changed files with 1 additions and 1 deletions

View File

@ -468,6 +468,7 @@ asmlinkage void __init start_kernel(void)
* Need to run as early as possible, to initialize the * Need to run as early as possible, to initialize the
* lockdep hash: * lockdep hash:
*/ */
unwind_init();
lockdep_init(); lockdep_init();
local_irq_disable(); local_irq_disable();
@ -506,7 +507,6 @@ asmlinkage void __init start_kernel(void)
__stop___param - __start___param, __stop___param - __start___param,
&unknown_bootoption); &unknown_bootoption);
sort_main_extable(); sort_main_extable();
unwind_init();
trap_init(); trap_init();
rcu_init(); rcu_init();
init_IRQ(); init_IRQ();