2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-24 13:13:57 +08:00

[SPARC64]: Fix indexing into kpte_linear_bitmap.

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

Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
David S. Miller 2006-02-26 23:09:37 -08:00
parent 97c4b6f95a
commit 6889331a12

View File

@ -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