summaryrefslogtreecommitdiff
path: root/arch/sparc/kernel/iommu_common.h
diff options
context:
space:
mode:
Diffstat (limited to 'arch/sparc/kernel/iommu_common.h')
-rw-r--r--arch/sparc/kernel/iommu_common.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/sparc/kernel/iommu_common.h b/arch/sparc/kernel/iommu_common.h
index 828493329f68..5ea5c192b1d9 100644
--- a/arch/sparc/kernel/iommu_common.h
+++ b/arch/sparc/kernel/iommu_common.h
@@ -47,4 +47,6 @@ static inline int is_span_boundary(unsigned long entry,
return iommu_is_span_boundary(entry, nr, shift, boundary_size);
}
+#define SPARC_MAPPING_ERROR (~(dma_addr_t)0x0)
+
#endif /* _IOMMU_COMMON_H */