summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorShawn Xiao <b49994@freescale.com>2015-04-17 10:48:09 +0800
committerRobby Cai <r63905@freescale.com>2015-06-12 18:33:38 +0800
commit31c5ed0a215cbc6f1261c92369e811243a4539ca (patch)
tree41ae6f2d8dba140badda43136cfc62decb2ba124
parentaaf0fc93a5455abe9fdb2d13f7e934c59ab8c4ba (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> (cherry picked from commit c5a859e73d7c9f87ebd487fd473f56503d65d60f)
-rw-r--r--arch/arm/mm/proc-syms.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/arm/mm/proc-syms.c b/arch/arm/mm/proc-syms.c
index 054b491ff764..e9e74ec2741d 100644
--- a/arch/arm/mm/proc-syms.c
+++ b/arch/arm/mm/proc-syms.c
@@ -30,6 +30,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