diff options
author | Christoph Hellwig <hch@lst.de> | 2018-12-06 15:50:26 -0500 |
---|---|---|
committer | Christoph Hellwig <hch@lst.de> | 2018-12-13 15:06:11 -0500 |
commit | 3731c3d4774e38b9d91c01943e1e6a243c1776be (patch) | |
tree | 5fda6811e4e89f40688493e3081f01e52216e6a7 /arch/sh/Kconfig | |
parent | 8ddbe5943c0b1259b5ddb6dc1729863433fc256c (diff) |
dma-mapping: always build the direct mapping code
All architectures except for sparc64 use the dma-direct code in some
form, and even for sparc64 we had the discussion of a direct mapping
mode a while ago. In preparation for directly calling the direct
mapping code don't bother having it optionally but always build the
code in. This is a minor hardship for some powerpc and arm configs
that don't pull it in yet (although they should in a relase ot two),
and sparc64 which currently doesn't need it at all, but it will
reduce the ifdef mess we'd otherwise need significantly.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Acked-by: Jesper Dangaard Brouer <brouer@redhat.com>
Tested-by: Jesper Dangaard Brouer <brouer@redhat.com>
Tested-by: Tony Luck <tony.luck@intel.com>
Diffstat (limited to 'arch/sh/Kconfig')
-rw-r--r-- | arch/sh/Kconfig | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/arch/sh/Kconfig b/arch/sh/Kconfig index f82a4da7adf3..10fd4e9c454b 100644 --- a/arch/sh/Kconfig +++ b/arch/sh/Kconfig | |||
@@ -7,7 +7,6 @@ config SUPERH | |||
7 | select ARCH_NO_COHERENT_DMA_MMAP if !MMU | 7 | select ARCH_NO_COHERENT_DMA_MMAP if !MMU |
8 | select HAVE_PATA_PLATFORM | 8 | select HAVE_PATA_PLATFORM |
9 | select CLKDEV_LOOKUP | 9 | select CLKDEV_LOOKUP |
10 | select DMA_DIRECT_OPS | ||
11 | select HAVE_IDE if HAS_IOPORT_MAP | 10 | select HAVE_IDE if HAS_IOPORT_MAP |
12 | select HAVE_MEMBLOCK_NODE_MAP | 11 | select HAVE_MEMBLOCK_NODE_MAP |
13 | select ARCH_DISCARD_MEMBLOCK | 12 | select ARCH_DISCARD_MEMBLOCK |