diff options
author | Christoph Hellwig <hch@lst.de> | 2018-11-21 19:18:58 +0100 |
---|---|---|
committer | Christoph Hellwig <hch@lst.de> | 2018-12-06 15:56:38 +0100 |
commit | 122da4e081be6e854625de21278f5ab6ce103ba9 (patch) | |
tree | 95660b0552c8a9c5c5836e022071ad98bab58df3 /arch/mips/include | |
parent | powerpc/iommu: remove the mapping_error dma_map_ops method (diff) | |
download | linux-122da4e081be6e854625de21278f5ab6ce103ba9.tar.xz linux-122da4e081be6e854625de21278f5ab6ce103ba9.zip |
mips/jazz: remove the mapping_error dma_map_ops method
The Jazz iommu code already returns (~(dma_addr_t)0x0) on mapping
failures, so we can switch over to returning DMA_MAPPING_ERROR and
let the core dma-mapping code handle the rest.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Acked-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'arch/mips/include')
-rw-r--r-- | arch/mips/include/asm/jazzdma.h | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/arch/mips/include/asm/jazzdma.h b/arch/mips/include/asm/jazzdma.h index d913439c738c..d13f940022d5 100644 --- a/arch/mips/include/asm/jazzdma.h +++ b/arch/mips/include/asm/jazzdma.h @@ -40,12 +40,6 @@ extern int vdma_get_enable(int channel); #define VDMA_OFFSET(a) ((unsigned int)(a) & (VDMA_PAGESIZE-1)) /* - * error code returned by vdma_alloc() - * (See also arch/mips/kernel/jazzdma.c) - */ -#define VDMA_ERROR 0xffffffff - -/* * VDMA pagetable entry description */ typedef volatile struct VDMA_PGTBL_ENTRY { |