aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--arch/sparc64/kernel/ktlb.S1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/sparc64/kernel/ktlb.S b/arch/sparc64/kernel/ktlb.S
index efcf38b6e28..31da1e564c9 100644
--- 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