[SPARC64]: Set %gl to 1 in kvmap_itlb_longpath on SUN4V.
authorDavid S. Miller <davem@sunset.davemloft.net>
Sun, 19 Feb 2006 00:36:39 +0000 (16:36 -0800)
committerDavid S. Miller <davem@sunset.davemloft.net>
Mon, 20 Mar 2006 09:13:39 +0000 (01:13 -0800)
Just like kvmap_dtlb_longpath we have to force the
global register level to one in order to mimick the
PSTATE_MG --> PSTATE_AG trasition done on SUN4U.

Signed-off-by: David S. Miller <davem@davemloft.net>
arch/sparc64/kernel/ktlb.S

index ac29da915d09fe60329724ee0bdd6ab3b7af794d..883180be3d592097c247929a6b01b84d1017b5be 100644 (file)
@@ -92,7 +92,7 @@ kvmap_itlb_longpath:
        wrpr    %g5, PSTATE_AG | PSTATE_MG, %pstate
        .section .sun4v_2insn_patch, "ax"
        .word   661b
-       nop
+       SET_GL(1)
        nop
        .previous