]> git.baikalelectronics.ru Git - kernel.git/commit
sparc: factor the dma coherent mapping into helper
authorChristoph Hellwig <hch@lst.de>
Mon, 3 Dec 2018 13:02:26 +0000 (14:02 +0100)
committerChristoph Hellwig <hch@lst.de>
Tue, 11 Dec 2018 13:45:27 +0000 (14:45 +0100)
commit5cb3637e984c75f0af439a0bc5b40ce96b3c1f62
tree5c5402c60922b907a22bb868fc81d0788ea1bddf
parentcb424bae1fafb0a2f4b86d6e73c2663dd67d138b
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>
arch/sparc/kernel/ioport.c