]> git.baikalelectronics.ru Git - kernel.git/commit
parisc: merge pcx_dma_ops and pcxl_dma_ops
authorChristoph Hellwig <hch@lst.de>
Tue, 19 Jun 2018 07:04:53 +0000 (09:04 +0200)
committerHelge Deller <deller@gmx.de>
Mon, 13 Aug 2018 07:30:13 +0000 (09:30 +0200)
commit2ca827b70257b9710751a89204d4c05209ea8c9c
treeb2aeaba7ec847ab4216569f1f44b0c4598ab4f0d
parentfaba7716f1e99c321d7570895b819822482719aa
parisc: merge pcx_dma_ops and pcxl_dma_ops

The only difference is that pcxl supports dma coherent allocations, while
pcx only supports non-consistent allocations and otherwise fails.

But dma_alloc* is not in the fast path, and merging these two allows an
easy migration path to the generic dma-noncoherent implementation, so
do it.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Helge Deller <deller@gmx.de>
arch/parisc/include/asm/dma-mapping.h
arch/parisc/kernel/pci-dma.c
arch/parisc/kernel/setup.c
arch/parisc/mm/init.c