summaryrefslogtreecommitdiff
path: root/arch/arm/mm/dma-mapping.c
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2019-07-24 15:26:08 +0200
committerChristoph Hellwig <hch@lst.de>2019-09-11 12:43:26 +0200
commitefcd5729d97cd19d32911ffdf478bb86ae8e818f (patch)
tree1eb2818fbcc8db3e77d9067796f6a1ab2ed6f0f1 /arch/arm/mm/dma-mapping.c
parenta8e6d950cdc1012aede8a84d85f902a53d895174 (diff)
xen/arm: simplify dma_cache_maint
Calculate the required operation in the caller, and pass it directly instead of recalculating it for each page, and use simple arithmetics to get from the physical address to Xen page size aligned chunks. Signed-off-by: Christoph Hellwig <hch@lst.de> Reviewed-by: Stefano Stabellini <sstabellini@kernel.org>
Diffstat (limited to 'arch/arm/mm/dma-mapping.c')
0 files changed, 0 insertions, 0 deletions