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>
Showing
- arch/mips/cavium-octeon/Kconfig 1 addition, 0 deletionsarch/mips/cavium-octeon/Kconfig
- arch/mips/cavium-octeon/dma-octeon.c 3 additions, 23 deletionsarch/mips/cavium-octeon/dma-octeon.c
- arch/mips/loongson64/Kconfig 1 addition, 0 deletionsarch/mips/loongson64/Kconfig
- arch/mips/loongson64/common/dma-swiotlb.c 2 additions, 19 deletionsarch/mips/loongson64/common/dma-swiotlb.c
Please register or sign in to comment