diff options
author | Christoph Hellwig <hch@lst.de> | 2017-07-04 19:55:06 -0700 |
---|---|---|
committer | Helge Deller <deller@gmx.de> | 2017-07-05 21:46:42 +0200 |
commit | 227145eb38fbee9d88a570954b3de836c4280134 (patch) | |
tree | 4c47d2411d679e654c25179873124d007dba1346 /arch | |
parent | e24dd9ee5399747b71c1d982a484fc7601795f31 (diff) | |
download | linux-227145eb38fbee9d88a570954b3de836c4280134.tar.bz2 |
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.h | 2 |
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; |