summaryrefslogtreecommitdiff
path: root/target/linux/ifxmips/patches/170-dma_hack.patch
diff options
context:
space:
mode:
authorJohn Crispin <john@openwrt.org>2008-07-06 03:08:03 +0000
committerJohn Crispin <john@openwrt.org>2008-07-06 03:08:03 +0000
commit369a4ba3e2dcfbd6c191c82975a37fc8a238eb15 (patch)
tree6e4bd704cd17115000abb37bcaa08c4fbd4818a5 /target/linux/ifxmips/patches/170-dma_hack.patch
parentf2473abf6314178df0388b4ce9c8fc1711f03d5a (diff)
downloadmtk-20170518-369a4ba3e2dcfbd6c191c82975a37fc8a238eb15.zip
mtk-20170518-369a4ba3e2dcfbd6c191c82975a37fc8a238eb15.tar.gz
mtk-20170518-369a4ba3e2dcfbd6c191c82975a37fc8a238eb15.tar.bz2
add dma hack to ifxmips
SVN-Revision: 11678
Diffstat (limited to 'target/linux/ifxmips/patches/170-dma_hack.patch')
-rw-r--r--target/linux/ifxmips/patches/170-dma_hack.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/target/linux/ifxmips/patches/170-dma_hack.patch b/target/linux/ifxmips/patches/170-dma_hack.patch
new file mode 100644
index 0000000..1a0f98c
--- /dev/null
+++ b/target/linux/ifxmips/patches/170-dma_hack.patch
@@ -0,0 +1,13 @@
+Index: linux-2.6.25.9/arch/mips/mm/cache.c
+===================================================================
+--- linux-2.6.25.9.orig/arch/mips/mm/cache.c 2008-07-06 05:04:46.000000000 +0200
++++ linux-2.6.25.9/arch/mips/mm/cache.c 2008-07-06 05:05:07.000000000 +0200
+@@ -50,6 +50,8 @@
+ 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 */
+