[SPARC64]: Add irqtrace/stacktrace/lockdep support.
[deliverable/linux.git] / arch / sparc64 / kernel / head.S
index c8e9dc9d68a9758c62d8e6efc7b5e0a02d88a8e4..03ffaf895a227760fe1ba8e475dcdda56444903b 100644 (file)
@@ -489,6 +489,14 @@ tlb_fixup_done:
        call    __bzero
         sub    %o1, %o0, %o1
 
+#ifdef CONFIG_LOCKDEP
+       /* We have this call this super early, as even prom_init can grab
+        * spinlocks and thus call into the lockdep code.
+        */
+       call    lockdep_init
+        nop
+#endif
+
        mov     %l6, %o1                        ! OpenPROM stack
        call    prom_init
         mov    %l7, %o0                        ! OpenPROM cif handler
This page took 0.023668 seconds and 5 git commands to generate.