summaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2017-07-04 19:55:06 -0700
committerHelge Deller <deller@gmx.de>2017-07-05 21:46:42 +0200
commit227145eb38fbee9d88a570954b3de836c4280134 (patch)
tree4c47d2411d679e654c25179873124d007dba1346 /arch
parente24dd9ee5399747b71c1d982a484fc7601795f31 (diff)
downloadlinux-stable-227145eb38fbee9d88a570954b3de836c4280134.tar.gz
linux-stable-227145eb38fbee9d88a570954b3de836c4280134.tar.bz2
linux-stable-227145eb38fbee9d88a570954b3de836c4280134.zip
parisc: ->mapping_error
DMA_ERROR_CODE already went away in linux-next, but parisc unfortunately added a new instance of it without any review as far as I can tell. Move the two iommu drivers to report errors through ->mapping_error. Signed-off-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Helge Deller <deller@gmx.de>
Diffstat (limited to 'arch')
-rw-r--r--arch/parisc/include/asm/dma-mapping.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/arch/parisc/include/asm/dma-mapping.h b/arch/parisc/include/asm/dma-mapping.h
index 9a2a8956a695..2b16282add69 100644
--- a/arch/parisc/include/asm/dma-mapping.h
+++ b/arch/parisc/include/asm/dma-mapping.h
@@ -20,8 +20,6 @@
** flush/purge and allocate "regular" cacheable pages for everything.
*/
-#define DMA_ERROR_CODE (~(dma_addr_t)0)
-
#ifdef CONFIG_PA11
extern const struct dma_map_ops pcxl_dma_ops;
extern const struct dma_map_ops pcx_dma_ops;