diff options
author | David S. Miller <davem@sunset.davemloft.net> | 2006-02-18 16:36:39 -0800 |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2006-03-20 01:13:39 -0800 |
commit | 6cc200db9500f53c6b884ea5d5bc7eabae7f5d5c (patch) | |
tree | 4d8d095f554cc9186ef9b945bd33e6c3d53161d1 | |
parent | 843dfb4d99c41116601694f314092b3b6c4511f4 (diff) | |
download | linux-6cc200db9500f53c6b884ea5d5bc7eabae7f5d5c.tar.bz2 |
[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>
-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: wrpr %g5, PSTATE_AG | PSTATE_MG, %pstate .section .sun4v_2insn_patch, "ax" .word 661b - nop + SET_GL(1) nop .previous |