Commit 8ee94e3f authored by Christoph Hellwig's avatar Christoph Hellwig

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: default avatarChristoph Hellwig <hch@lst.de>
parent 356da6d0
...@@ -28,7 +28,7 @@ config IA64 ...@@ -28,7 +28,7 @@ config IA64
select HAVE_ARCH_TRACEHOOK select HAVE_ARCH_TRACEHOOK
select HAVE_MEMBLOCK_NODE_MAP select HAVE_MEMBLOCK_NODE_MAP
select HAVE_VIRT_CPU_ACCOUNTING 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 ARCH_HAS_SYNC_DMA_FOR_CPU
select VIRT_TO_BUS select VIRT_TO_BUS
select ARCH_DISCARD_MEMBLOCK select ARCH_DISCARD_MEMBLOCK
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment