]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - arch/sparc64/kernel/sun4v_tlb_miss.S
[SPARC64]: Set g4/g5 properly in sun4v dtlb-prot handling.
[linux-2.6-omap-h63xx.git] / arch / sparc64 / kernel / sun4v_tlb_miss.S
index b731881224e81fa091ca81447d1b50eddd33ac8c..9871dbb1ab42579a10e22e892a4049711bb3e941 100644 (file)
@@ -142,9 +142,9 @@ sun4v_dtlb_prot:
        rdpr    %tl, %g1
        cmp     %g1, 1
        bgu,pn  %xcc, winfix_trampoline
-        nop
-       ba,pt   %xcc, sparc64_realfault_common
         mov    FAULT_CODE_DTLB | FAULT_CODE_WRITE, %g4
+       ba,pt   %xcc, sparc64_realfault_common
+        nop
 
        /* Called from trap table:
         * %g4: vaddr