mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-11-17 19:14:47 +00:00
sparc: factor the dma coherent mapping into helper
Factor the code to remap memory returned from the DMA coherent allocator into two helpers that can be shared by the IOMMU and direct mapping code. Signed-off-by: Christoph Hellwig <hch@lst.de> Acked-by: David S. Miller <davem@davemloft.net> Acked-by: Sam Ravnborg <sam@ravnborg.org>
This commit is contained in:
parent
7227b20262
commit
53b7670e57
1 changed files with 67 additions and 84 deletions
Loading…
Add table
Add a link
Reference in a new issue