]> git.baikalelectronics.ru Git - kernel.git/commit
MIPS: refactor the runtime coherent vs noncoherent DMA indicators
authorChristoph Hellwig <hch@lst.de>
Wed, 10 Feb 2021 09:56:38 +0000 (10:56 +0100)
committerThomas Bogendoerfer <tsbogend@alpha.franken.de>
Sat, 13 Feb 2021 08:51:45 +0000 (09:51 +0100)
commit14ac09a65e19528ca05df56f8e36a4a8d4949795
tree87df70b91b37c256417ee8063edec8d82a635dd2
parent3440caf5f28c4e4a585dd5a7cead1b7c414973da
MIPS: refactor the runtime coherent vs noncoherent DMA indicators

Replace the global coherentio enum, and the hw_coherentio (fake) boolean
variables with a single boolean dma_default_coherent flag.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
arch/mips/alchemy/common/setup.c
arch/mips/include/asm/dma-coherence.h
arch/mips/kernel/setup.c
arch/mips/mm/c-r4k.c
arch/mips/mti-malta/malta-setup.c
arch/mips/pci/pci-alchemy.c