projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
97c4b6f
)
[SPARC64]: Fix indexing into kpte_linear_bitmap.
author
David S. Miller
<davem@sunset.davemloft.net>
Mon, 27 Feb 2006 07:09:37 +0000
(23:09 -0800)
committer
David S. Miller
<davem@sunset.davemloft.net>
Mon, 20 Mar 2006 09:14:07 +0000
(
01:14
-0800)
Need to shift back up by 3 bits to get 8-byte entry
index.
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 efcf38b6e284a2f35a0490027d9e154017303e59..31da1e564c95e2ecdbabf13a55a5fda55391d9a4 100644
(file)
--- a/
arch/sparc64/kernel/ktlb.S
+++ b/
arch/sparc64/kernel/ktlb.S
@@
-163,6
+163,7
@@
kvmap_dtlb_tsb4m_miss:
/* Divide by 64 to get the offset into the bitmask. */
srlx %g5, 6, %g5
+ sllx %g5, 3, %g5
/* kern_linear_pte_xor[((mask & bit) ? 1 : 0)] */
ldx [%g2 + %g5], %g2