ia64: only select ARCH_HAS_DMA_COHERENT_TO_PFN if swiotlb is enabled
authorChristoph Hellwig <hch@lst.de>
Sat, 15 Dec 2018 10:01:25 +0000 (11:01 +0100)
committerChristoph Hellwig <hch@lst.de>
Sat, 15 Dec 2018 10:01:25 +0000 (11:01 +0100)
commit8ee94e3fc54d989897969d7ca8deacfe7850855c
tree66c65c4f8eb00305105571f2ea4dcd6cf03a8772
parent356da6d0cde3323236977fce54c1f9612a742036
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>
arch/ia64/Kconfig