2018-05-12 18:31:44 +00:00
|
|
|
From ab7066f9285592640b0cc3f870a14c134fdb75b2 Mon Sep 17 00:00:00 2001
|
2018-01-09 16:42:55 +00:00
|
|
|
From: =?UTF-8?q?Filip=20Matijevi=C4=87?= <filip.matijevic.pz@gmail.com>
|
|
|
|
Date: Sat, 16 Dec 2017 07:41:32 +0100
|
2018-03-03 11:01:35 +00:00
|
|
|
Subject: [PATCH 11/11] HACK: export dma access functions needed by PVR drivers
|
2018-01-09 16:42:55 +00:00
|
|
|
|
|
|
|
---
|
|
|
|
arch/arm/mm/dma-mapping.c | 7 +++++++
|
|
|
|
1 file changed, 7 insertions(+)
|
|
|
|
|
|
|
|
diff --git a/arch/arm/mm/dma-mapping.c b/arch/arm/mm/dma-mapping.c
|
2018-05-12 18:31:44 +00:00
|
|
|
index 8c398fedbbb6..cd86f8c49647 100644
|
2018-01-09 16:42:55 +00:00
|
|
|
--- a/arch/arm/mm/dma-mapping.c
|
|
|
|
+++ b/arch/arm/mm/dma-mapping.c
|
2018-05-12 18:31:44 +00:00
|
|
|
@@ -2423,3 +2423,10 @@ void arch_teardown_dma_ops(struct device *dev)
|
2018-03-03 11:01:35 +00:00
|
|
|
|
|
|
|
arm_teardown_iommu_dma_ops(dev);
|
2018-01-09 16:42:55 +00:00
|
|
|
}
|
|
|
|
+
|
|
|
|
+/* 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
|
2018-03-03 11:01:35 +00:00
|
|
|
--
|
2018-05-12 18:31:44 +00:00
|
|
|
2.17.0
|
2018-03-03 11:01:35 +00:00
|
|
|
|