Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit f25e6f6b authored by Christoph Hellwig's avatar Christoph Hellwig
Browse files

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: default avatarChristoph Hellwig <hch@lst.de>
parent 9d37c094
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -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);