From: Andi Kleen Date: Tue, 26 Sep 2006 08:52:34 +0000 (+0200) Subject: [PATCH] Move unwind_init earlier X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=c9538ed49272fb244ac06ba643ff076a68a77e12;p=GitHub%2FLineageOS%2FG12%2Fandroid_kernel_amlogic_linux-4.9.git [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 --- diff --git a/init/main.c b/init/main.c index 6b69564738c1..913e48d658ee 100644 --- a/init/main.c +++ b/init/main.c @@ -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();