diff options
author | Christoph Hellwig <hch@lst.de> | 2017-12-24 16:04:37 +0300 |
---|---|---|
committer | Christoph Hellwig <hch@lst.de> | 2018-01-15 11:35:54 +0300 |
commit | 35bd5071206e4974aed9bbd229d68699e72306ec (patch) | |
tree | 4f9edb16a27662c2c40080aac5c887ae1c6b6974 /arch/ia64 | |
parent | 4fac8076df854aa4ddb8acbf6cce9d337300219e (diff) | |
download | linux-35bd5071206e4974aed9bbd229d68699e72306ec.tar.xz |
ia64: remove an ifdef around the content of pci-dma.c
The file is only compiled if CONFIG_INTEL_IOMMU is set to start with.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Acked-by: Christian König <christian.koenig@amd.com>
Diffstat (limited to 'arch/ia64')
-rw-r--r-- | arch/ia64/kernel/pci-dma.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/arch/ia64/kernel/pci-dma.c b/arch/ia64/kernel/pci-dma.c index 35e0cad33b7d..b5df084c0af4 100644 --- a/arch/ia64/kernel/pci-dma.c +++ b/arch/ia64/kernel/pci-dma.c @@ -12,12 +12,7 @@ #include <asm/iommu.h> #include <asm/machvec.h> #include <linux/dma-mapping.h> - - -#ifdef CONFIG_INTEL_IOMMU - #include <linux/kernel.h> - #include <asm/page.h> dma_addr_t bad_dma_address __read_mostly; @@ -115,5 +110,3 @@ void __init pci_iommu_alloc(void) } #endif /* CONFIG_SWIOTLB */ } - -#endif |