summaryrefslogtreecommitdiff
path: root/arch/arm64/include/asm
diff options
context:
space:
mode:
authorStefano Stabellini <stefano.stabellini@eu.citrix.com>2013-10-15 19:49:03 +0400
committerStefano Stabellini <stefano.stabellini@eu.citrix.com>2013-10-15 19:49:03 +0400
commit25b719d7b45947a79d298414cdfb5ec8fadf0ec8 (patch)
tree0874daf3d1d793c62115059bd855aaf82c0c5ed4 /arch/arm64/include/asm
parent06e6295bcecefea9dc29fc84b5fd6848061365a0 (diff)
downloadlinux-25b719d7b45947a79d298414cdfb5ec8fadf0ec8.tar.xz
arm64: define DMA_ERROR_CODE
Signed-off-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com> Acked-by: Catalin Marinas <catalin.marinas@arm.com> CC: will.deacon@arm.com Changes in v8: - cast to dma_addr_t before returning.
Diffstat (limited to 'arch/arm64/include/asm')
-rw-r--r--arch/arm64/include/asm/dma-mapping.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm64/include/asm/dma-mapping.h b/arch/arm64/include/asm/dma-mapping.h
index 8d1810001aef..59206b178494 100644
--- a/arch/arm64/include/asm/dma-mapping.h
+++ b/arch/arm64/include/asm/dma-mapping.h
@@ -25,6 +25,7 @@
#define ARCH_HAS_DMA_GET_REQUIRED_MASK
+#define DMA_ERROR_CODE (~(dma_addr_t)0)
extern struct dma_map_ops *dma_ops;
static inline struct dma_map_ops *get_dma_ops(struct device *dev)