aboutsummaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorDavid S. Miller <davem@sunset.davemloft.net>2006-02-18 16:36:39 -0800
committerDavid S. Miller <davem@sunset.davemloft.net>2006-03-20 01:13:39 -0800
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 ac29da915d0..883180be3d5 100644
--- a/arch/sparc64/kernel/ktlb.S
+++ b/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