]> 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)
commit0c4644acf1c26251fd13292447941776b90371b9
treeb2aeaba7ec847ab4216569f1f44b0c4598ab4f0d
parent852c0ed64676d10e2a30b88dadbce256b9dc0d21
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