ia64: fix compile without swiotlb
authorChristoph Hellwig <hch@lst.de>
Fri, 4 Jan 2019 21:03:08 +0000 (13:03 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Sat, 5 Jan 2019 02:15:33 +0000 (18:15 -0800)
commit3fed6ae4b027f9c93be18520f87bd06bdffd196b
treea11a4b081e8d743e425c64d6717b117d8c231dea
parent170d13ca3a2fdaaa0283399247631b76b441cca2
ia64: fix compile without swiotlb

Some non-generic ia64 configs don't build swiotlb, and thus should not
pull in the generic non-coherent DMA infrastructure.

Fixes: 68c608345c ("swiotlb: remove dma_mark_clean")
Reported-by: Tony Luck <tony.luck@gmail.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Tony Luck <tony.luck@intel.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
arch/ia64/Kconfig
arch/ia64/mm/init.c