OSDN Git Service

MIPS: remove CONFIG_DMA_COHERENT
authorChristoph Hellwig <hch@lst.de>
Fri, 15 Jun 2018 11:08:32 +0000 (13:08 +0200)
committerPaul Burton <paul.burton@mips.com>
Sun, 24 Jun 2018 16:26:02 +0000 (09:26 -0700)
commit7e4dbdc11261bd7aaa18051247d01429e0b7cd03
tree6f6fdee653e23514ca13b7fb715adeca5d8bfe62
parent972dc3b79f421b5ae553b1073708cbd0d4da4a91
MIPS: remove CONFIG_DMA_COHERENT

We can just check for !CONFIG_DMA_NONCOHERENT instead and simplify things
a lot.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Paul Burton <paul.burton@mips.com>
Patchwork: https://patchwork.linux-mips.org/patch/19530/
Signed-off-by: Paul Burton <paul.burton@mips.com>
Cc: Florian Fainelli <f.fainelli@gmail.com>
Cc: David Daney <david.daney@cavium.com>
Cc: Kevin Cernekee <cernekee@gmail.com>
Cc: Jiaxun Yang <jiaxun.yang@flygoat.com>
Cc: Tom Bogendoerfer <tsbogend@alpha.franken.de>
Cc: Huacai Chen <chenhc@lemote.com>
Cc: iommu@lists.linux-foundation.org
Cc: linux-mips@linux-mips.org
arch/mips/Kconfig
arch/mips/include/asm/dma-coherence.h
arch/mips/include/asm/mach-generic/kmalloc.h
arch/mips/mti-malta/malta-setup.c
arch/mips/sibyte/Kconfig