diff options
| author | Christoph Hellwig <[email protected]> | 2018-03-23 17:49:30 +0000 |
|---|---|---|
| committer | Thomas Gleixner <[email protected]> | 2018-03-23 19:15:38 +0000 |
| commit | 0803e6051c1562e1525c3e044313390bf8b35c2b (patch) | |
| tree | 3dfff08cbfc30eac2e23d072db590a394a952269 /drivers/gpu/drm/amd/amdgpu/amdgpu_object.c | |
| parent | dma/swiotlb: Remove swiotlb_{alloc,free}_coherent() (diff) | |
| download | kernel-0803e6051c1562e1525c3e044313390bf8b35c2b.tar.gz kernel-0803e6051c1562e1525c3e044313390bf8b35c2b.zip | |
swiotlb: Make swiotlb_{alloc,free}_buffer depend on CONFIG_DMA_DIRECT_OPS
Otherwise this causes unused symbol warnings for configs that build
swiotlb.c only for use by xen-swiotlb.c and that don't otherwise select
CONFIG_DMA_DIRECT_OPS, which is possible on arm.
Fixes: 16e73adbca76 ("dma/swiotlb: Remove swiotlb_{alloc,free}_coherent()")
Reported-by: Stephen Rothwell <[email protected]>
Signed-off-by: Christoph Hellwig <[email protected]>
Signed-off-by: Thomas Gleixner <[email protected]>
Cc: [email protected]
Cc: [email protected]
Link: https://lkml.kernel.org/r/[email protected]
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_object.c')
0 files changed, 0 insertions, 0 deletions
