2cc6ae4a9d
Also added the watchdog-kick package: Some devices (namely Nokia N9/950) use more than one watchdog, and watchdog-kick package kicks all of /dev/watchdogs? every 10 seconds so they don't reset the device
26 lines
846 B
Diff
26 lines
846 B
Diff
From 2a8dfb35dea840d1759ad8dbae12408c3017f721 Mon Sep 17 00:00:00 2001
|
|
From: =?UTF-8?q?Filip=20Matijevi=C4=87?= <filip.matijevic.pz@gmail.com>
|
|
Date: Sat, 16 Dec 2017 07:41:32 +0100
|
|
Subject: [PATCH 12/12] HACK: export dma access functions needed by PVR drivers
|
|
|
|
---
|
|
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
|
|
index ada8eb206a90..877f7f96462d 100644
|
|
--- a/arch/arm/mm/dma-mapping.c
|
|
+++ b/arch/arm/mm/dma-mapping.c
|
|
@@ -2409,3 +2409,10 @@ void arch_teardown_dma_ops(struct device *dev)
|
|
|
|
arm_teardown_iommu_dma_ops(dev);
|
|
}
|
|
+
|
|
+/* 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
|
|
--
|
|
2.14.1
|