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

Commit 2148270c authored by Ingo Molnar's avatar Ingo Molnar Committed by Linus Torvalds
Browse files

[PATCH] lockdep: x86_64 early init



x86_64 uses spinlocks very early - earlier than start_kernel().  So call
lockdep_init() from the arch setup code.

Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
Signed-off-by: default avatarArjan van de Ven <arjan@linux.intel.com>
Cc: Andi Kleen <ak@muc.de>
Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent 8c64580d
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -84,6 +84,11 @@ void __init x86_64_start_kernel(char * real_mode_data)
	asm volatile("lidt %0" :: "m" (idt_descr));
	clear_bss();

	/*
	 * This must be called really, really early:
	 */
	lockdep_init();

	/*
	 * switch to init_level4_pgt from boot_level4_pgt
	 */