summaryrefslogtreecommitdiff
path: root/block
diff options
context:
space:
mode:
authorLaura Abbott <lauraa@codeaurora.org>2014-02-05 03:08:57 +0400
committerCatalin Marinas <catalin.marinas@arm.com>2014-02-05 14:28:27 +0400
commitccc9e244eb1b9654915634827322932cbafd8244 (patch)
treeccd48e88d9ecc6d28266669e9fa8ad9a083ff741 /block
parent5044bad43ee573d0b6d90e3ccb7a40c2c7d25eb4 (diff)
downloadlinux-ccc9e244eb1b9654915634827322932cbafd8244.tar.xz
arm64: Align CMA sizes to PAGE_SIZE
dma_alloc_from_contiguous takes number of pages for a size. Align up the dma size passed in to page size to avoid truncation and allocation failures on sizes less than PAGE_SIZE. Cc: Will Deacon <will.deacon@arm.com> Signed-off-by: Laura Abbott <lauraa@codeaurora.org> Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
Diffstat (limited to 'block')
0 files changed, 0 insertions, 0 deletions