--- zzzz-none-000/linux-4.4.60/arch/arm/include/asm/glue-cache.h 2017-04-08 07:53:53.000000000 +0000 +++ jet-2400-727/linux-4.4.60/arch/arm/include/asm/glue-cache.h 2021-03-17 14:36:41.000000000 +0000 @@ -159,6 +159,14 @@ #define __cpuc_flush_dcache_area __glue(_CACHE,_flush_kern_dcache_area) #define dmac_flush_range __glue(_CACHE,_dma_flush_range) +#define dmac_inv_range __glue(_CACHE, _dma_inv_range) +#define dmac_clean_range __glue(_CACHE, _dma_clean_range) +#define dmac_map_area __glue(_CACHE, _dma_map_area) +#define dmac_unmap_area __glue(_CACHE, _dma_unmap_area) + +#define __dma_map_area dmac_map_area +#define __dma_unmap_area dmac_unmap_area +#define __dma_flush_range dmac_flush_range #endif #endif