From: Christoph Hellwig Date: Sun, 24 Dec 2017 13:04:37 +0000 (+0100) Subject: ia64: remove an ifdef around the content of pci-dma.c X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=35bd5071206e4974aed9bbd229d68699e72306ec;p=openwrt%2Fstaging%2Fblogic.git 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 Acked-by: Christian König --- 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 #include #include - - -#ifdef CONFIG_INTEL_IOMMU - #include - #include dma_addr_t bad_dma_address __read_mostly; @@ -115,5 +110,3 @@ void __init pci_iommu_alloc(void) } #endif /* CONFIG_SWIOTLB */ } - -#endif