summaryrefslogtreecommitdiff
path: root/arch/arm/mm
diff options
context:
space:
mode:
authorShawn Xiao <b49994@freescale.com>2015-04-17 10:48:09 +0800
committerLeonard Crestez <leonard.crestez@nxp.com>2018-08-24 12:20:42 +0300
commitb55a464b0535cc8eea38a1383ab029d55a0ae6c7 (patch)
treeaeabc238aa2d1a2a1942d27465bab002df3fdcb8 /arch/arm/mm
parentdcaaea7b27250b554d4281b19321d5a16c4611a7 (diff)
MGS-577 ARM: Export the cache management symbols when !MULTI_CACHE
When compiling a GPU module without CONFIG_MULTI_CACHE enabled, the compiler prompt warning which says symbol v7_dma_map_area and v7_dma_flush_area not exported. And when insmod GPU module, it also warns the above two symbols not found, which cause insmod module failed. This patch export these dma access functions and fix these issues. Signed-off-by: Shawn Xiao <b49994@freescale.com>
Diffstat (limited to 'arch/arm/mm')
-rw-r--r--arch/arm/mm/proc-syms.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/arm/mm/proc-syms.c b/arch/arm/mm/proc-syms.c
index 054b491ff764..872b1ff7ff11 100644
--- a/arch/arm/mm/proc-syms.c
+++ b/arch/arm/mm/proc-syms.c
@@ -14,6 +14,7 @@
#include <asm/proc-fns.h>
#include <asm/tlbflush.h>
#include <asm/page.h>
+#include "dma.h"
#ifndef MULTI_CPU
EXPORT_SYMBOL(cpu_dcache_clean_area);
@@ -30,6 +31,9 @@ EXPORT_SYMBOL(__cpuc_flush_user_all);
EXPORT_SYMBOL(__cpuc_flush_user_range);
EXPORT_SYMBOL(__cpuc_coherent_kern_range);
EXPORT_SYMBOL(__cpuc_flush_dcache_area);
+EXPORT_SYMBOL(__glue(_CACHE,_dma_map_area));
+EXPORT_SYMBOL(__glue(_CACHE,_dma_unmap_area));
+EXPORT_SYMBOL(__glue(_CACHE,_dma_flush_range));
#else
EXPORT_SYMBOL(cpu_cache);
#endif