OSDN Git Service
(root)
/
android-x86
/
kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
843dfb4
)
[SPARC64]: Set %gl to 1 in kvmap_itlb_longpath on SUN4V.
author
David S. Miller
<davem@sunset.davemloft.net>
Sun, 19 Feb 2006 00:36:39 +0000
(16:36 -0800)
committer
David S. Miller
<davem@sunset.davemloft.net>
Mon, 20 Mar 2006 09:13:39 +0000
(
01:13
-0800)
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>
arch/sparc64/kernel/ktlb.S
patch
|
blob
|
history
diff --git
a/arch/sparc64/kernel/ktlb.S
b/arch/sparc64/kernel/ktlb.S
index
ac29da9
..
883180b
100644
(file)
--- 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