Skip to content

Commit

Permalink
dma-direct: mark as is_phys
Browse files Browse the repository at this point in the history
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 <[email protected]>
  • Loading branch information
Christoph Hellwig committed Feb 12, 2018
1 parent 9d37c09 commit f25e6f6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/dma-direct.c
Original file line number Diff line number Diff line change
Expand Up @@ -152,5 +152,6 @@ 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);

0 comments on commit f25e6f6

Please sign in to comment.