Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
sparc32: page align size in arch_dma_alloc
[ Upstream commit 59583f7 ] Commit 53b7670 ("sparc: factor the dma coherent mapping into helper") lost the page align for the calls to dma_make_coherent and srmmu_unmapiorange. The latter cannot handle a non page aligned len argument. Signed-off-by: Andreas Larsson <andreas@gaisler.com> Reviewed-by: Sam Ravnborg <sam@ravnborg.org> Signed-off-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Sasha Levin <sashal@kernel.org>
- Loading branch information