diff options
author | Christoph Hellwig <hch@lst.de> | 2017-12-22 14:50:47 +0100 |
---|---|---|
committer | Christoph Hellwig <hch@lst.de> | 2018-01-15 09:34:43 +0100 |
commit | 205e1b7f51e4af2643eb1d61a6503e415cd1e014 (patch) | |
tree | 378eab5560b61a7f479d9c9a35aed2415956a8e3 /arch/nios2 | |
parent | s390: move s390_pci_dma_ops to asm/pci_dma.h (diff) | |
download | linux-205e1b7f51e4af2643eb1d61a6503e415cd1e014.tar.xz linux-205e1b7f51e4af2643eb1d61a6503e415cd1e014.zip |
dma-mapping: warn when there is no coherent_dma_mask
These days all devices should have a DMA coherent mask, and most dma_ops
implementations rely on that fact. But just to be sure add an assert to
ring the warning bell if that is not the case.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Vladimir Murzin <vladimir.murzin@arm.com>
Reviewed-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Diffstat (limited to 'arch/nios2')
0 files changed, 0 insertions, 0 deletions