Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit c9538ed4 authored by Andi Kleen's avatar Andi Kleen Committed by Andi Kleen
Browse files

[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: default avatarAndi Kleen <ak@suse.de>
parent b7f5e3c7
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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();
@@ -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();