summaryrefslogtreecommitdiff
path: root/net/switchdev/switchdev.c
diff options
context:
space:
mode:
authorLiam Mark <lmark@codeaurora.org>2017-01-26 16:46:14 -0800
committerLiam Mark <lmark@codeaurora.org>2017-02-06 14:03:48 -0800
commit45cb559804b3b3100e1d4d0d38b46b12d7d3bb53 (patch)
tree04786bedbf1fda2190ef92ac0bac62c0b6f0d298 /net/switchdev/switchdev.c
parent20e1ed9259bf1c7c40b76b13d74d476608cc1d49 (diff)
arm: dma-mapping: map_page map to nearest page
Since the page offset can be greater than the size of a page fix arm_coherent_iommu_map_page so that it maps to nearest page boundary. This both prevents unnecessarily mapping memory we don’t need to map and fixes a bug where the unmap wasn’t unmapping this extra memory. Change-Id: Iaa69aff7505ee75d1f2e69bb0cda814bc6211bd3 Signed-off-by: Liam Mark <lmark@codeaurora.org>
Diffstat (limited to 'net/switchdev/switchdev.c')
0 files changed, 0 insertions, 0 deletions