diff options
author | Christoph Hellwig <hch@lst.de> | 2017-12-24 13:57:08 +0100 |
---|---|---|
committer | Christoph Hellwig <hch@lst.de> | 2018-01-15 09:35:53 +0100 |
commit | 4fac8076df854aa4ddb8acbf6cce9d337300219e (patch) | |
tree | 5bc357f2c2b646a18c09b2a89d14ebb2b70954de /drivers/iommu/intel-iommu.c | |
parent | ia64: use generic swiotlb_ops (diff) | |
download | linux-4fac8076df854aa4ddb8acbf6cce9d337300219e.tar.xz linux-4fac8076df854aa4ddb8acbf6cce9d337300219e.zip |
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 <hch@lst.de>
Acked-by: Christian König <christian.koenig@amd.com>
Diffstat (limited to 'drivers/iommu/intel-iommu.c')
-rw-r--r-- | drivers/iommu/intel-iommu.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/iommu/intel-iommu.c b/drivers/iommu/intel-iommu.c index 4a2de34895ec..a1373cf34326 100644 --- a/drivers/iommu/intel-iommu.c +++ b/drivers/iommu/intel-iommu.c @@ -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; |