Commit 35bd5071 authored by Christoph Hellwig's avatar Christoph Hellwig

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: default avatarChristoph Hellwig <hch@lst.de>
Acked-by: default avatarChristian König <christian.koenig@amd.com>
parent 4fac8076
...@@ -12,12 +12,7 @@ ...@@ -12,12 +12,7 @@
#include <asm/iommu.h> #include <asm/iommu.h>
#include <asm/machvec.h> #include <asm/machvec.h>
#include <linux/dma-mapping.h> #include <linux/dma-mapping.h>
#ifdef CONFIG_INTEL_IOMMU
#include <linux/kernel.h> #include <linux/kernel.h>
#include <asm/page.h> #include <asm/page.h>
dma_addr_t bad_dma_address __read_mostly; dma_addr_t bad_dma_address __read_mostly;
...@@ -115,5 +110,3 @@ void __init pci_iommu_alloc(void) ...@@ -115,5 +110,3 @@ void __init pci_iommu_alloc(void)
} }
#endif /* CONFIG_SWIOTLB */ #endif /* CONFIG_SWIOTLB */
} }
#endif
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment