aboutsummaryrefslogtreecommitdiffstats
path: root/arch/s390/include/asm
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2017-05-21 13:04:09 +0200
committerChristoph Hellwig <hch@lst.de>2017-06-28 06:54:31 -0700
commit81cac18e1180e9812c9838d8cef3a1fff00f3702 (patch)
treee76495d66cd9fc9c3d02e2611d4853564eee57ff /arch/s390/include/asm
parentiommu/amd: implement ->mapping_error (diff)
downloadlinux-dev-81cac18e1180e9812c9838d8cef3a1fff00f3702.tar.xz
linux-dev-81cac18e1180e9812c9838d8cef3a1fff00f3702.zip
s390: implement ->mapping_error
s390 can also use noop_dma_ops, and while that currently does not return errors it will so in the future. Implementing the mapping_error method is the proper way to have per-ops error conditions. Signed-off-by: Christoph Hellwig <hch@lst.de> Acked-by: Gerald Schaefer <gerald.schaefer@de.ibm.com>
Diffstat (limited to 'arch/s390/include/asm')
-rw-r--r--arch/s390/include/asm/dma-mapping.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/arch/s390/include/asm/dma-mapping.h b/arch/s390/include/asm/dma-mapping.h
index 3108b8dbe266..512ad0eaa11a 100644
--- a/arch/s390/include/asm/dma-mapping.h
+++ b/arch/s390/include/asm/dma-mapping.h
@@ -8,8 +8,6 @@
#include <linux/dma-debug.h>
#include <linux/io.h>
-#define DMA_ERROR_CODE (~(dma_addr_t) 0x0)
-
extern const struct dma_map_ops s390_pci_dma_ops;
static inline const struct dma_map_ops *get_arch_dma_ops(struct bus_type *bus)