Skip to content

Commit

Permalink
[IA64] Add DMA_ERROR_CODE define.
Browse files Browse the repository at this point in the history
This piggybacks on git commit 8fd524b
("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>
  • Loading branch information
Konrad Rzeszutek Wilk authored and Tony Luck committed Jan 11, 2011
1 parent 5b2eef9 commit 9f97535
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions arch/ia64/include/asm/dma-mapping.h
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@

#define ARCH_HAS_DMA_GET_REQUIRED_MASK

#define DMA_ERROR_CODE 0

extern struct dma_map_ops *dma_ops;
extern struct ia64_machine_vector ia64_mv;
extern void set_iommu_machvec(void);
Expand Down

0 comments on commit 9f97535

Please sign in to comment.