aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohn Crispin <blogic@openwrt.org>2008-07-06 03:08:03 +0000
committerJohn Crispin <blogic@openwrt.org>2008-07-06 03:08:03 +0000
commitdfc6fdd8b9ef473fef2666296ebc32a1b0b3dc76 (patch)
treecbbdbe13f26f6e68926eddb65e0be79f9cbb1d9e
parent37fe87ab6564c5f7d797e9f8401459e1e914d589 (diff)
downloadupstream-dfc6fdd8b9ef473fef2666296ebc32a1b0b3dc76.tar.gz
upstream-dfc6fdd8b9ef473fef2666296ebc32a1b0b3dc76.tar.bz2
upstream-dfc6fdd8b9ef473fef2666296ebc32a1b0b3dc76.zip
add dma hack to ifxmips
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11678 3c298f89-4303-0410-b956-a3cf2f4a3e73
-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 0000000000..1a0f98c86a
--- /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 */
+