summaryrefslogtreecommitdiffstats
path: root/arch/ia64/Kconfig
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2018-12-15 11:01:25 +0100
committerChristoph Hellwig <hch@lst.de>2018-12-15 11:01:25 +0100
commit8ee94e3fc54d989897969d7ca8deacfe7850855c (patch)
tree66c65c4f8eb00305105571f2ea4dcd6cf03a8772 /arch/ia64/Kconfig
parent356da6d0cde3323236977fce54c1f9612a742036 (diff)
downloadblackbird-op-linux-8ee94e3fc54d989897969d7ca8deacfe7850855c.tar.gz
blackbird-op-linux-8ee94e3fc54d989897969d7ca8deacfe7850855c.zip
ia64: only select ARCH_HAS_DMA_COHERENT_TO_PFN if swiotlb is enabled
Otherwise we get a build failure due in swiotlb-less configs with non-generic kernels. Signed-off-by: Christoph Hellwig <hch@lst.de>
Diffstat (limited to 'arch/ia64/Kconfig')
-rw-r--r--arch/ia64/Kconfig2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/ia64/Kconfig b/arch/ia64/Kconfig
index c587e3316c38..cbf6c67c7166 100644
--- a/arch/ia64/Kconfig
+++ b/arch/ia64/Kconfig
@@ -28,7 +28,7 @@ config IA64
select HAVE_ARCH_TRACEHOOK
select HAVE_MEMBLOCK_NODE_MAP
select HAVE_VIRT_CPU_ACCOUNTING
- select ARCH_HAS_DMA_COHERENT_TO_PFN
+ select ARCH_HAS_DMA_COHERENT_TO_PFN if SWIOTLB
select ARCH_HAS_SYNC_DMA_FOR_CPU
select VIRT_TO_BUS
select ARCH_DISCARD_MEMBLOCK
OpenPOWER on IntegriCloud