diff options
author | Shuah Khan <shuah.khan@hp.com> | 2012-11-23 14:32:55 -0700 |
---|---|---|
committer | Joerg Roedel <joro@8bytes.org> | 2012-11-28 15:28:58 +0100 |
commit | 27fa0ab66f17e49a59fbca272f8c1cfab7c5fe81 (patch) | |
tree | 747be0a1e859842b9b88ce98d7fece67c946718e /arch/ia64 | |
parent | ad154880c03daf1f776e502e2c18775eda4280d2 (diff) | |
download | linux-next-27fa0ab66f17e49a59fbca272f8c1cfab7c5fe81.tar.gz |
ia64: dma_debug: add debug_dma_mapping_error support
Add dma-debug interface debug_dma_mapping_error() to debug drivers that fail
to check dma mapping errors on addresses returned by dma_map_single() and
dma_map_page() interfaces.
Signed-off-by: Shuah Khan <shuah.khan@hp.com>
Signed-off-by: Joerg Roedel <joro@8bytes.org>
Diffstat (limited to 'arch/ia64')
-rw-r--r-- | arch/ia64/include/asm/dma-mapping.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/ia64/include/asm/dma-mapping.h b/arch/ia64/include/asm/dma-mapping.h index 4f5e8148440d..cf3ab7e784b5 100644 --- a/arch/ia64/include/asm/dma-mapping.h +++ b/arch/ia64/include/asm/dma-mapping.h @@ -58,6 +58,7 @@ static inline void dma_free_attrs(struct device *dev, size_t size, static inline int dma_mapping_error(struct device *dev, dma_addr_t daddr) { struct dma_map_ops *ops = platform_dma_get_ops(dev); + debug_dma_mapping_error(dev, daddr); return ops->mapping_error(dev, daddr); } |