dma-mapping: add a dma_addressing_limited helper
authorChristoph Hellwig <hch@lst.de>
Tue, 16 Jul 2019 19:59:11 +0000 (21:59 +0200)
committerChristoph Hellwig <hch@lst.de>
Wed, 17 Jul 2019 06:25:40 +0000 (08:25 +0200)
commitb866455423e040813f113d8b87e8297778ee2014
treeaa579e45a03d123e8813eaf8bfe78485b2d55549
parent9087c37584fb7d8315877bb55f85e4268cc0b4f4
dma-mapping: add a dma_addressing_limited helper

This helper returns if the device has issues addressing all present
memory in the system.

Signed-off-by: Christoph Hellwig <hch@lst.de>
include/linux/dma-mapping.h