diff options
author | Christoph Hellwig <hch@lst.de> | 2019-08-03 11:42:15 +0200 |
---|---|---|
committer | Christoph Hellwig <hch@lst.de> | 2019-08-29 16:43:33 +0200 |
commit | 8e3a68fb55e00e0760bd8023883e064f1f93c62d (patch) | |
tree | 534cbf26b705987972b800501afec405b9175533 /.cocciconfig | |
parent | dma-mapping: remove arch_dma_mmap_pgprot (diff) | |
download | linux-8e3a68fb55e00e0760bd8023883e064f1f93c62d.tar.xz linux-8e3a68fb55e00e0760bd8023883e064f1f93c62d.zip |
dma-mapping: make dma_atomic_pool_init self-contained
The memory allocated for the atomic pool needs to have the same
mapping attributes that we use for remapping, so use
pgprot_dmacoherent instead of open coding it. Also deduct a
suitable zone to allocate the memory from based on the presence
of the DMA zones.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Diffstat (limited to '.cocciconfig')
0 files changed, 0 insertions, 0 deletions