diff --git a/arch/mips/mm/cache.c b/arch/mips/mm/cache.c index 33b409391ddb..a01923b30086 100644 --- a/arch/mips/mm/cache.c +++ b/arch/mips/mm/cache.c @@ -62,6 +62,10 @@ void (*_dma_cache_wback_inv)(unsigned long start, unsigned long size); void (*_dma_cache_wback)(unsigned long start, unsigned long size); void (*_dma_cache_inv)(unsigned long start, unsigned long size); +EXPORT_SYMBOL(_dma_cache_wback_inv); +EXPORT_SYMBOL(_dma_cache_wback); +EXPORT_SYMBOL(_dma_cache_inv); + #endif /* CONFIG_DMA_NONCOHERENT */ /*
Commit e58cfbfb32d1 ("MIPS: remove the _dma_cache_wback_inv export") removes EXPORT_SYMBOL(_dma_cache_wback_inv) but what are the acceptable alternatives? Streaming DMA mappings? dma_cache_wback_inv() and dma_cache_inv() are used in subsequent changes, but I suppose these must be changed to something appropriate. The current DMA handling is very simple, although the hardware is quite capable (for example, with scatter-gather lists, chaining and so on). Signed-off-by: Fredrik Noring <noring@nocrew.org> --- arch/mips/mm/cache.c | 4 ++++ 1 file changed, 4 insertions(+)