aboutsummaryrefslogtreecommitdiffstats
path: root/init/main.c
diff options
context:
space:
mode:
authorAndi Kleen <ak@suse.de>2006-09-26 04:52:34 -0400
committerAndi Kleen <andi@basil.nowhere.org>2006-09-26 04:52:34 -0400
commitc9538ed49272fb244ac06ba643ff076a68a77e12 (patch)
treec720082e74ffbac1c29d88c21754d7605fe8e9b1 /init/main.c
parentb7f5e3c7742d5332b78b831131f43fc3630e6322 (diff)
[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>
Diffstat (limited to 'init/main.c')
-rw-r--r--init/main.c2
1 files changed, 1 insertions, 1 deletions
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)
468 * Need to run as early as possible, to initialize the 468 * Need to run as early as possible, to initialize the
469 * lockdep hash: 469 * lockdep hash:
470 */ 470 */
471 unwind_init();
471 lockdep_init(); 472 lockdep_init();
472 473
473 local_irq_disable(); 474 local_irq_disable();
@@ -506,7 +507,6 @@ asmlinkage void __init start_kernel(void)
506 __stop___param - __start___param, 507 __stop___param - __start___param,
507 &unknown_bootoption); 508 &unknown_bootoption);
508 sort_main_extable(); 509 sort_main_extable();
509 unwind_init();
510 trap_init(); 510 trap_init();
511 rcu_init(); 511 rcu_init();
512 init_IRQ(); 512 init_IRQ();