ia64: clean up swiotlb support

Move the few remaining bits of swiotlb glue towards their callers,
and remove the pointless on ia64 swiotlb variable.

Signed-off-by: Christoph Hellwig <[email protected]>
Acked-by: Christian König <[email protected]>
This commit is contained in:
Christoph Hellwig 2017-12-24 13:57:08 +01:00
commit 4fac8076df
6 changed files with 20 additions and 58 deletions

View file

@ -4808,7 +4808,7 @@ int __init intel_iommu_init(void)
up_write(&dmar_global_lock);
pr_info("Intel(R) Virtualization Technology for Directed I/O\n");
#ifdef CONFIG_SWIOTLB
#if defined(CONFIG_X86) && defined(CONFIG_SWIOTLB)
swiotlb = 0;
#endif
dma_ops = &intel_dma_ops;