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

Skip to content
Commit b128040a authored by Sudarshan Rajagopalan's avatar Sudarshan Rajagopalan
Browse files

iommu/io-pgtable-arm: Use right-shift for division



Since entry_size is always a power of 2, use appropriate
right-shift operation for division instead. Also, this change
helps to be compatible with 32-bit machines where lib support
for division of unsigned long long values are not supported.

Change-Id: I74d9656206126599b9e4052ee6c158f23da298de
Signed-off-by: default avatarSudarshan Rajagopalan <sudaraja@codeaurora.org>
parent 5915565f
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment