Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 9d779882 authored by Andreas Larsson's avatar Andreas Larsson Committed by Greg Kroah-Hartman
Browse files

sparc32: page align size in arch_dma_alloc



[ Upstream commit 59583f747664046aaae5588d56d5954fab66cce8 ]

Commit 53b7670e ("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: default avatarAndreas Larsson <andreas@gaisler.com>
Reviewed-by: default avatarSam Ravnborg <sam@ravnborg.org>
Signed-off-by: default avatarChristoph Hellwig <hch@lst.de>
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent ec49f3f7
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment