arm64: mm: Export __dma_map_area/__dma_unmap_area to support sram cache invalid/clean

Signed-off-by: Felix Zeng <felix.zeng@rock-chips.com>
Change-Id: Iaffc599649e98112ea4561e14e8af9be4f86b6dc
This commit is contained in:
Felix Zeng
2022-06-28 16:31:53 +08:00
committed by Tao Huang
parent b93ccf0a10
commit b2f51e925e

View File

@@ -61,3 +61,8 @@ void arch_setup_dma_ops(struct device *dev, u64 dma_base, u64 size,
dev->dma_ops = &xen_swiotlb_dma_ops;
#endif
}
#ifdef CONFIG_NO_GKI
EXPORT_SYMBOL(__dma_map_area);
EXPORT_SYMBOL(__dma_unmap_area);
#endif