summaryrefslogtreecommitdiffstats
path: root/init
diff options
context:
space:
mode:
authorAndi Kleen <ak@suse.de>2006-09-26 10:52:34 +0200
committerAndi Kleen <andi@basil.nowhere.org>2006-09-26 10:52:34 +0200
commitc9538ed49272fb244ac06ba643ff076a68a77e12 (patch)
treec720082e74ffbac1c29d88c21754d7605fe8e9b1 /init
parent[PATCH] Don't access the APIC in safe_smp_processor_id when it is not mapped yet (diff)
downloadlinux-c9538ed49272fb244ac06ba643ff076a68a77e12.tar.xz
linux-c9538ed49272fb244ac06ba643ff076a68a77e12.zip
[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')
-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)
* 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();