* [PATCH] arm: Export cache flush management symbols when !MULTI_CACHE
@ 2013-01-03 22:32 Pantelis Antoniou
2013-01-03 23:11 ` Russell King - ARM Linux
0 siblings, 1 reply; 2+ messages in thread
From: Pantelis Antoniou @ 2013-01-03 22:32 UTC (permalink / raw)
To: linux-arm-kernel
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>
---
arch/arm/kernel/setup.c | 9 +++++++++
1 file changed, 9 insertions(+)
diff --git a/arch/arm/kernel/setup.c b/arch/arm/kernel/setup.c
index 3f6cbb2..4540dad 100644
--- a/arch/arm/kernel/setup.c
+++ b/arch/arm/kernel/setup.c
@@ -931,3 +931,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
--
1.7.12
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2013-01-03 23:11 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-01-03 22:32 [PATCH] arm: Export cache flush management symbols when !MULTI_CACHE Pantelis Antoniou
2013-01-03 23:11 ` Russell King - ARM Linux
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).