summaryrefslogtreecommitdiff
path: root/target/linux/ifxmips/patches-2.6.27/170-dma_hack.patch
diff options
context:
space:
mode:
Diffstat (limited to 'target/linux/ifxmips/patches-2.6.27/170-dma_hack.patch')
-rw-r--r--target/linux/ifxmips/patches-2.6.27/170-dma_hack.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/target/linux/ifxmips/patches-2.6.27/170-dma_hack.patch b/target/linux/ifxmips/patches-2.6.27/170-dma_hack.patch
new file mode 100644
index 0000000..5416b6a
--- /dev/null
+++ b/target/linux/ifxmips/patches-2.6.27/170-dma_hack.patch
@@ -0,0 +1,11 @@
+--- a/arch/mips/mm/cache.c
++++ b/arch/mips/mm/cache.c
+@@ -51,6 +51,8 @@ void (*_dma_cache_wback)(unsigned long s
+ void (*_dma_cache_inv)(unsigned long start, unsigned long size);
+
+ EXPORT_SYMBOL(_dma_cache_wback_inv);
++EXPORT_SYMBOL(_dma_cache_wback);
++EXPORT_SYMBOL(_dma_cache_inv);
+
+ #endif /* CONFIG_DMA_NONCOHERENT */
+