diff options
author | David S. Miller <davem@sunset.davemloft.net> | 2006-02-18 19:36:39 -0500 |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2006-03-20 04:13:39 -0500 |
commit | 6cc200db9500f53c6b884ea5d5bc7eabae7f5d5c (patch) | |
tree | 4d8d095f554cc9186ef9b945bd33e6c3d53161d1 /arch/sparc64/kernel/ktlb.S | |
parent | 843dfb4d99c41116601694f314092b3b6c4511f4 (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/sparc64/kernel/ktlb.S')
-rw-r--r-- | arch/sparc64/kernel/ktlb.S | 2 |
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 | ||