summaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorPantelis Antoniou <panto@antoniou-consulting.com>2013-01-04 00:32:33 +0200
committerMax Krummenacher <max.krummenacher@toradex.com>2015-09-01 13:37:01 +0200
commitaabc41ef8573826eb4b862be9df8286d2ba6465b (patch)
tree32c570467b5dcbc823943b4e2cbac03e23d1e65e /arch
parent3718b8f35c4e99b53ee0f695a8daa52fccfacbb1 (diff)
arm: Export cache flush management symbols when !MULTI_CACHE
When compiling a kernel without CONFIG_MULTI_CACHE enabled the dma access functions end up not being exported. Fix it. Signed-off-by: Pantelis Antoniou <panto@antoniou-consulting.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> (cherry picked from commit 22f692548037e39809c32759b5600ee066ef59e9)
Diffstat (limited to 'arch')
-rw-r--r--arch/arm/kernel/setup.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/arch/arm/kernel/setup.c b/arch/arm/kernel/setup.c
index 1e8b030dbefd..c6a9a6197ce2 100644
--- a/arch/arm/kernel/setup.c
+++ b/arch/arm/kernel/setup.c
@@ -1080,3 +1080,12 @@ const struct seq_operations cpuinfo_op = {
.stop = c_stop,
.show = c_show
};
+
+/* export the cache management functions */
+#ifndef MULTI_CACHE
+
+EXPORT_SYMBOL(__glue(_CACHE,_dma_map_area));
+EXPORT_SYMBOL(__glue(_CACHE,_dma_unmap_area));
+EXPORT_SYMBOL(__glue(_CACHE,_dma_flush_range));
+
+#endif