diff options
author | Christoph Hellwig <hch@lst.de> | 2018-09-06 20:30:54 -0400 |
---|---|---|
committer | Christoph Hellwig <hch@lst.de> | 2018-10-01 07:28:00 -0700 |
commit | 7d21ee4c719f00896767ce19c4c01a56374c2ced (patch) | |
tree | 81ddf922c44d62db19a3048aa1fc0f2f1b2bdd76 /include/linux/fpga/fpga-region.h | |
parent | a20bb058375147cb639c7aa17ef86ad68b32d847 (diff) |
dma-direct: refine dma_direct_alloc zone selection
We need to take the DMA offset and encryption bit into account when
selecting a zone. User the opportunity to factor out the zone
selection into a helper for reuse.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Robin Murphy <robin.murphy@arm.com>
Diffstat (limited to 'include/linux/fpga/fpga-region.h')
0 files changed, 0 insertions, 0 deletions