[PATCH] lockdep: x86_64 early init
[sfrench/cifs-2.6.git] / arch / x86_64 / kernel / head64.c
index e6a71c9556d9561fe8d83a9473fddc63da6367ef..36647ce6aecbd696c97265b9e0d3862a723cc65a 100644 (file)
@@ -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
         */