diff options
| author | 2019-06-14 16:06:10 +0200 | |
|---|---|---|
| committer | 2019-06-25 08:14:43 +0200 | |
| commit | 4b85faed211ccfbcc7f3adf1cd62f0b00d1a172b (patch) | |
| tree | dcc65552dd34f276ac4e20104f2f981da996bdc6 /include/linux/phy/git:/ssh: | |
| parent | openrisc: remove the partial DMA_ATTR_NON_CONSISTENT support (diff) | |
dma-mapping: add a dma_alloc_need_uncached helper
Check if we need to allocate uncached memory for a device given the
allocation flags. Switch over the uncached segment check to this helper
to deal with architectures that do not support the dma_cache_sync
operation and thus should not returned cacheable memory for
DMA_ATTR_NON_CONSISTENT allocations.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Diffstat (limited to 'include/linux/phy/git:/ssh:')
0 files changed, 0 insertions, 0 deletions
