Skip to content

Commit

Permalink
[SPARC64]: Set %gl to 1 in kvmap_itlb_longpath on SUN4V.
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
David S. Miller committed Mar 20, 2006
1 parent 843dfb4 commit 6cc200d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arch/sparc64/kernel/ktlb.S
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 6cc200d

Please sign in to comment.