]> err.no Git - linux-2.6/blobdiff - arch/sparc64/kernel/hvtramp.S
x86: printk kernel version in WARN_ON and other dump_stack users
[linux-2.6] / arch / sparc64 / kernel / hvtramp.S
index 76a090e2c2a83ba901183fcb8f9f9e4adea3741c..b692e044a463420327862689d51097a60b129119 100644 (file)
@@ -10,6 +10,7 @@
 #include <asm/hvtramp.h>
 #include <asm/pstate.h>
 #include <asm/ptrace.h>
+#include <asm/head.h>
 #include <asm/asi.h>
 
        .text
@@ -28,7 +29,7 @@
         * First setup basic privileged cpu state.
         */
 hv_cpu_startup:
-       wrpr            %g0, 0, %gl
+       SET_GL(0)
        wrpr            %g0, 15, %pil
        wrpr            %g0, 0, %canrestore
        wrpr            %g0, 0, %otherwin
@@ -114,11 +115,8 @@ hv_cpu_startup:
        call            hard_smp_processor_id
         nop
 
-       mov             %o0, %o1
-       mov             0, %o0
-       mov             0, %o2
-       call            sun4v_init_mondo_queues
-        mov            1, %o3
+       call            sun4v_register_mondo_queues
+        nop
 
        call            init_cur_cpu_trap
         mov            %g6, %o0