Browse Source

[SPARC64]: Set %gl to 1 in kvmap_itlb_longpath on SUN4V.

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>
David S. Miller 19 years ago
parent
commit
6cc200db95
1 changed files with 1 additions and 1 deletions
  1. 1 1
      arch/sparc64/kernel/ktlb.S

+ 1 - 1
arch/sparc64/kernel/ktlb.S

@@ -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