diff options
| author | Christoph Hellwig <hch@lst.de> | 2018-02-02 03:21:07 -0500 |
|---|---|---|
| committer | Christoph Hellwig <hch@lst.de> | 2018-02-12 10:59:06 -0500 |
| commit | f25e6f6b4eae7e25e92e91a570cae84bf83e751a (patch) | |
| tree | 8a80e0c400c66ca03be6e24080b970a8056630f6 /lib | |
| parent | 9d37c094dacda531ac3e529dd4dd139e3c0b7811 (diff) | |
dma-direct: mark as is_phys
Various PCI_DMA_BUS_IS_PHYS implementations rely on this flag to make proper
decisions for block and networking addressability.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Diffstat (limited to 'lib')
| -rw-r--r-- | lib/dma-direct.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/dma-direct.c b/lib/dma-direct.c index 40b1f92f2214..fdc733cf9e30 100644 --- a/lib/dma-direct.c +++ b/lib/dma-direct.c | |||
| @@ -152,5 +152,6 @@ const struct dma_map_ops dma_direct_ops = { | |||
| 152 | .map_sg = dma_direct_map_sg, | 152 | .map_sg = dma_direct_map_sg, |
| 153 | .dma_supported = dma_direct_supported, | 153 | .dma_supported = dma_direct_supported, |
| 154 | .mapping_error = dma_direct_mapping_error, | 154 | .mapping_error = dma_direct_mapping_error, |
| 155 | .is_phys = 1, | ||
| 155 | }; | 156 | }; |
| 156 | EXPORT_SYMBOL(dma_direct_ops); | 157 | EXPORT_SYMBOL(dma_direct_ops); |
