aboutsummaryrefslogtreecommitdiffstats
path: root/arch/ia64/kernel
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2019-08-13 09:25:13 +0200
committerTony Luck <tony.luck@intel.com>2019-08-16 14:32:26 -0700
commit6c13bb1d58d7a6002eb44e1595897250f0b0eec6 (patch)
treee254d5dd097841f84a9e68f72e042627b076fa2a /arch/ia64/kernel
parentia64: remove support for machvecs (diff)
downloadlinux-dev-6c13bb1d58d7a6002eb44e1595897250f0b0eec6.tar.xz
linux-dev-6c13bb1d58d7a6002eb44e1595897250f0b0eec6.zip
ia64: remove CONFIG_SWIOTLB ifdefs
CONFIG_SWIOTLB is now unconditionally selected on ia64, so remove the ifdefs. Signed-off-by: Christoph Hellwig <hch@lst.de> Link: https://lkml.kernel.org/r/20190813072514.23299-28-hch@lst.de Signed-off-by: Tony Luck <tony.luck@intel.com>
Diffstat (limited to 'arch/ia64/kernel')
-rw-r--r--arch/ia64/kernel/dma-mapping.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/arch/ia64/kernel/dma-mapping.c b/arch/ia64/kernel/dma-mapping.c
index 53aaa8597920..4a3262795890 100644
--- a/arch/ia64/kernel/dma-mapping.c
+++ b/arch/ia64/kernel/dma-mapping.c
@@ -8,7 +8,6 @@ int iommu_detected __read_mostly;
const struct dma_map_ops *dma_ops;
EXPORT_SYMBOL(dma_ops);
-#ifdef CONFIG_SWIOTLB
void *arch_dma_alloc(struct device *dev, size_t size,
dma_addr_t *dma_handle, gfp_t gfp, unsigned long attrs)
{
@@ -26,4 +25,3 @@ long arch_dma_coherent_to_pfn(struct device *dev, void *cpu_addr,
{
return page_to_pfn(virt_to_page(cpu_addr));
}
-#endif