Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 6889331a authored by David S. Miller's avatar David S. Miller
Browse files

[SPARC64]: Fix indexing into kpte_linear_bitmap.



Need to shift back up by 3 bits to get 8-byte entry
index.

Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 97c4b6f9
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -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