sparc: implement ->mapping_error
DMA_ERROR_CODE is going to go away, so don't rely on it. Signed-off-by: Christoph Hellwig <hch@lst.de> Acked-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
@@ -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 */
|
||||
|
Reference in New Issue
Block a user