Commit 947f7639 authored by Isaac J. Manjarres's avatar Isaac J. Manjarres
Browse files

ANDROID: iommu/io-pgtable-arm: Fix arguments for __arm_lpae_map()



arm_lpae_map_pages() is currently passing NULL to __arm_lpae_map()
for its mapped argument, instead of the mapped argument that it is
supposed to pass, which can lead to memory that has been mapped
not being counted as mapped.

Fix this by passing the mapped argument from arm_lpae_map_pages()
to __arm_lpae_map().

Bug: 178537788
Reported-by: default avatarJohn Stultz <john.stultz@linaro.org>
Fixes: ac399444 ("FROMLIST: iommu/io-pgtable-arm: Implement arm_lpae_map_pages()")
Change-Id: Ic97df34fc2e9e0404d193eff2024d334e3e75a24
Signed-off-by: default avatarIsaac J. Manjarres <isaacm@codeaurora.org>
parent 40537e85
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment