diff options
| author | Christoph Hellwig <[email protected]> | 2019-05-20 07:29:45 +0000 |
|---|---|---|
| committer | Joerg Roedel <[email protected]> | 2019-05-27 15:31:12 +0000 |
| commit | e6475eb010fae28a2550faf9f2f12dc13ab2931a (patch) | |
| tree | 58b469d9740ea17fc3bbbd6eaa2c737aa8425678 /lib/genalloc.c | |
| parent | iommu/dma: Refactor iommu_dma_mmap (diff) | |
| download | kernel-e6475eb010fae28a2550faf9f2f12dc13ab2931a.tar.gz kernel-e6475eb010fae28a2550faf9f2f12dc13ab2931a.zip | |
iommu/dma: Don't depend on CONFIG_DMA_DIRECT_REMAP
For entirely dma coherent architectures there is no requirement to ever
remap dma coherent allocation. Move all the remap and pool code under
IS_ENABLED() checks and drop the Kconfig dependency.
Signed-off-by: Christoph Hellwig <[email protected]>
Reviewed-by: Robin Murphy <[email protected]>
Signed-off-by: Joerg Roedel <[email protected]>
Diffstat (limited to 'lib/genalloc.c')
0 files changed, 0 insertions, 0 deletions
