Skip to content

Commit

Permalink
[PATCH] Move unwind_init earlier
Browse files Browse the repository at this point in the history
Needed for use of the unwinder in lockdep, because lockdep runs really
early too.

Cc: [email protected]

Signed-off-by: Andi Kleen <[email protected]>
  • Loading branch information
Andi Kleen authored and Andi Kleen committed Sep 26, 2006
1 parent b7f5e3c commit c9538ed
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion init/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -468,6 +468,7 @@ asmlinkage void __init start_kernel(void)
* Need to run as early as possible, to initialize the
* lockdep hash:
*/
unwind_init();
lockdep_init();

local_irq_disable();
Expand Down Expand Up @@ -506,7 +507,6 @@ asmlinkage void __init start_kernel(void)
__stop___param - __start___param,
&unknown_bootoption);
sort_main_extable();
unwind_init();
trap_init();
rcu_init();
init_IRQ();
Expand Down

0 comments on commit c9538ed

Please sign in to comment.