diff options
author | Christoph Hellwig <hch@lst.de> | 2018-04-12 10:33:30 +0300 |
---|---|---|
committer | Christoph Hellwig <hch@lst.de> | 2018-05-07 08:15:41 +0300 |
commit | 325ef1857fff8b2049322921e19421b6c5ad74e5 (patch) | |
tree | d4f0dc35d4e37e18c432e76292e3a453462dd02e /lib | |
parent | ab74cfebafa3b71caa1e82793032b4867dcf5ea6 (diff) | |
download | linux-325ef1857fff8b2049322921e19421b6c5ad74e5.tar.xz |
PCI: remove PCI_DMA_BUS_IS_PHYS
This was used by the ide, scsi and networking code in the past to
determine if they should bounce payloads. Now that the dma mapping
always have to support dma to all physical memory (thanks to swiotlb
for non-iommu systems) there is no need to this crude hack any more.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Acked-by: Palmer Dabbelt <palmer@sifive.com> (for riscv)
Reviewed-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'lib')
-rw-r--r-- | lib/dma-direct.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/dma-direct.c b/lib/dma-direct.c index 970d39155618..df9e726e0712 100644 --- a/lib/dma-direct.c +++ b/lib/dma-direct.c @@ -187,6 +187,5 @@ const struct dma_map_ops dma_direct_ops = { .map_sg = dma_direct_map_sg, .dma_supported = dma_direct_supported, .mapping_error = dma_direct_mapping_error, - .is_phys = 1, }; EXPORT_SYMBOL(dma_direct_ops); |