diff options
author | Christoph Hellwig <hch@lst.de> | 2018-09-06 19:27:24 -0400 |
---|---|---|
committer | Christoph Hellwig <hch@lst.de> | 2018-10-01 07:27:00 -0700 |
commit | c6d4381220a0087ce19dbf6984d92c451bd6b364 (patch) | |
tree | 137796a9983bcc8282410110a131c0833b659b1b /arch/ia64/include/asm/dma-mapping.h | |
parent | b733116feab5471c0489ab33e90fceb553215e5b (diff) | |
download | linux-c6d4381220a0087ce19dbf6984d92c451bd6b364.tar.bz2 |
dma-mapping: make the get_required_mask method available unconditionally
This save some duplication for ia64, and makes the interface more
general. In the long run we want each dma_map_ops instance to fill this
out, but this will take a little more prep work.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Acked-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Diffstat (limited to 'arch/ia64/include/asm/dma-mapping.h')
-rw-r--r-- | arch/ia64/include/asm/dma-mapping.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/arch/ia64/include/asm/dma-mapping.h b/arch/ia64/include/asm/dma-mapping.h index 76e4d6632d68..522745ae67bb 100644 --- a/arch/ia64/include/asm/dma-mapping.h +++ b/arch/ia64/include/asm/dma-mapping.h @@ -10,8 +10,6 @@ #include <linux/scatterlist.h> #include <linux/dma-debug.h> -#define ARCH_HAS_DMA_GET_REQUIRED_MASK - extern const struct dma_map_ops *dma_ops; extern struct ia64_machine_vector ia64_mv; extern void set_iommu_machvec(void); |