[IA64] Add DMA_ERROR_CODE define.
authorKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Mon, 6 Dec 2010 23:24:32 +0000 (18:24 -0500)
committerTony Luck <tony.luck@intel.com>
Tue, 11 Jan 2011 19:55:06 +0000 (11:55 -0800)
commit9f975356f7b17f2923a66b2f8bd505287ab4359c
treecfc73ae881041d21fe74fdebb9a3b3422f3a158a
parent5b2eef966cb2ae307aa4ef1767f7307774bc96ca
[IA64] Add DMA_ERROR_CODE define.

This piggybacks on git commit 8fd524b355daef0945692227e726fb444cebcd4f
("x86: Kill bad_dma_address variable") wherein we use now the
dma_map_ops->mapping_error to check for errors and the standard
check is against DMA_ERROR_CODE. Introduce it to the IA64 world.

CC: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
CC: Jesse Barnes <jbarnes@virtuousgeek.org>
Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Signed-off-by: Tony Luck <tony.luck@intel.com>
arch/ia64/include/asm/dma-mapping.h