aboutsummaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorDavid S. Miller <davem@sunset.davemloft.net>2006-02-18 19:36:39 -0500
committerDavid S. Miller <davem@sunset.davemloft.net>2006-03-20 04:13:39 -0500
commit6cc200db9500f53c6b884ea5d5bc7eabae7f5d5c (patch)
tree4d8d095f554cc9186ef9b945bd33e6c3d53161d1 /arch
parent843dfb4d99c41116601694f314092b3b6c4511f4 (diff)
[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>
Diffstat (limited to 'arch')
-rw-r--r--arch/sparc64/kernel/ktlb.S2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/sparc64/kernel/ktlb.S b/arch/sparc64/kernel/ktlb.S
index ac29da915d09..883180be3d59 100644
--- a/arch/sparc64/kernel/ktlb.S
+++ b/arch/sparc64/kernel/ktlb.S
@@ -92,7 +92,7 @@ kvmap_itlb_longpath:
92 wrpr %g5, PSTATE_AG | PSTATE_MG, %pstate 92 wrpr %g5, PSTATE_AG | PSTATE_MG, %pstate
93 .section .sun4v_2insn_patch, "ax" 93 .section .sun4v_2insn_patch, "ax"
94 .word 661b 94 .word 661b
95 nop 95 SET_GL(1)
96 nop 96 nop
97 .previous 97 .previous
98 98