diff options
author | Christoph Hellwig <hch@lst.de> | 2018-12-21 14:32:02 +0100 |
---|---|---|
committer | Christoph Hellwig <hch@lst.de> | 2019-04-08 17:52:46 +0200 |
commit | e43e2657fe77a37b13643e2469670ecdb0ba5e10 (patch) | |
tree | 4ee78346c28a4eb714497802b083af8064b9992e /arch/x86/include | |
parent | dma-mapping: remove leftover NULL device support (diff) | |
download | linux-e43e2657fe77a37b13643e2469670ecdb0ba5e10.tar.xz linux-e43e2657fe77a37b13643e2469670ecdb0ba5e10.zip |
x86/dma: Remove the x86_dma_fallback_dev hack
Now that we removed support for the NULL device argument in the DMA API,
there is no need to cater for that in the x86 code.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Diffstat (limited to 'arch/x86/include')
-rw-r--r-- | arch/x86/include/asm/dma-mapping.h | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/arch/x86/include/asm/dma-mapping.h b/arch/x86/include/asm/dma-mapping.h index ce4d176b3d13..6b15a24930e0 100644 --- a/arch/x86/include/asm/dma-mapping.h +++ b/arch/x86/include/asm/dma-mapping.h @@ -13,14 +13,7 @@ #include <asm/swiotlb.h> #include <linux/dma-contiguous.h> -#ifdef CONFIG_ISA -# define ISA_DMA_BIT_MASK DMA_BIT_MASK(24) -#else -# define ISA_DMA_BIT_MASK DMA_BIT_MASK(32) -#endif - extern int iommu_merge; -extern struct device x86_dma_fallback_dev; extern int panic_on_overflow; extern const struct dma_map_ops *dma_ops; @@ -30,7 +23,4 @@ static inline const struct dma_map_ops *get_arch_dma_ops(struct bus_type *bus) return dma_ops; } -bool arch_dma_alloc_attrs(struct device **dev); -#define arch_dma_alloc_attrs arch_dma_alloc_attrs - #endif |