commit | ccc9e244eb1b9654915634827322932cbafd8244 | [log] [tgz] |
---|---|---|
author | Laura Abbott <lauraa@codeaurora.org> | Tue Feb 04 23:08:57 2014 +0000 |
committer | Catalin Marinas <catalin.marinas@arm.com> | Wed Feb 05 10:28:27 2014 +0000 |
tree | ccd48e88d9ecc6d28266669e9fa8ad9a083ff741 | |
parent | 5044bad43ee573d0b6d90e3ccb7a40c2c7d25eb4 [diff] |
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>