mips: use swiotlb_{alloc,free}
authorChristoph Hellwig <hch@lst.de>
Sun, 24 Dec 2017 12:37:55 +0000 (13:37 +0100)
committerChristoph Hellwig <hch@lst.de>
Mon, 15 Jan 2018 08:36:00 +0000 (09:36 +0100)
commitac2e8860cb545799ce9e6c466117c08c3a61c798
treef8db888e6963421ad889f33b49a0cfa87d8a6530
parent1c33b6b765e63d5cadd621049759244fb25e8fd4
mips: use swiotlb_{alloc,free}

These already include the GFP_DMA/GFP_DMA32 usage, and will use CMA
memory if enabled, thus avoiding the GFP_NORETRY hack.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Acked-by: Christian König <christian.koenig@amd.com>
arch/mips/cavium-octeon/Kconfig
arch/mips/cavium-octeon/dma-octeon.c
arch/mips/loongson64/Kconfig
arch/mips/loongson64/common/dma-swiotlb.c