commit | b128040acb3af9f8764ca556bda2c6aeee0ca583 | [log] [tgz] |
---|---|---|
author | Sudarshan Rajagopalan <sudaraja@codeaurora.org> | Tue Jun 06 10:57:09 2017 -0700 |
committer | Sudarshan Rajagopalan <sudaraja@codeaurora.org> | Tue Jun 06 15:06:05 2017 -0700 |
tree | 4f9c76bc05563079d6416ca4eabc17a7c9b1e869 | |
parent | 5915565f0d2c854e8a95842d13dff035386a3245 [diff] |
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: Sudarshan Rajagopalan <sudaraja@codeaurora.org>