dma-direct: use is_swiotlb_active in dma_direct_map_page
Use the more specific is_swiotlb_active check instead of checking the global swiotlb_force variable. Signed-off-by:Christoph Hellwig <hch@lst.de> Reviewed-by:
Anshuman Khandual <anshuman.khandual@arm.com> Reviewed-by:
Konrad Rzeszutek Wilk <konrad.wilk@oracle.com> Tested-by:
Boris Ostrovsky <boris.ostrovsky@oracle.com>
Showing
Please register or sign in to comment