]> 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)
commit5e3c143f6e6936420383d608b164478f00fc4ebd
tree5c5402c60922b907a22bb868fc81d0788ea1bddf
parent97d46fa03984219938416197be6a0dd13cd61032
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