diff options
author | Christoph Hellwig <hch@lst.de> | 2017-05-21 13:04:09 +0200 |
---|---|---|
committer | Christoph Hellwig <hch@lst.de> | 2017-06-28 06:54:31 -0700 |
commit | 81cac18e1180e9812c9838d8cef3a1fff00f3702 (patch) | |
tree | e76495d66cd9fc9c3d02e2611d4853564eee57ff /arch/s390/include | |
parent | a869572c3196440e96d62d61320e4ae2f530b02e (diff) | |
download | blackbird-op-linux-81cac18e1180e9812c9838d8cef3a1fff00f3702.tar.gz blackbird-op-linux-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')
-rw-r--r-- | arch/s390/include/asm/dma-mapping.h | 2 |
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) |