summaryrefslogtreecommitdiff
path: root/target/linux/generic-2.6/patches-2.6.30
diff options
context:
space:
mode:
authorImre Kaloz <kaloz@openwrt.org>2009-11-11 14:41:30 +0000
committerImre Kaloz <kaloz@openwrt.org>2009-11-11 14:41:30 +0000
commitfb7c762ad66d6b2fb8ce77897d3726158f782682 (patch)
tree9f4670f6500adcbd92349b10d7a897d4e24e5def /target/linux/generic-2.6/patches-2.6.30
parentcc222ce56d099c60a945c13d9cce010988b7cb2f (diff)
downloadmtk-20170518-fb7c762ad66d6b2fb8ce77897d3726158f782682.zip
mtk-20170518-fb7c762ad66d6b2fb8ce77897d3726158f782682.tar.gz
mtk-20170518-fb7c762ad66d6b2fb8ce77897d3726158f782682.tar.bz2
export __cpuc_flush_dcache_page for ARM targets
SVN-Revision: 18375
Diffstat (limited to 'target/linux/generic-2.6/patches-2.6.30')
-rw-r--r--target/linux/generic-2.6/patches-2.6.30/015-arm_export___cpu_flush_dcache_page.patch33
1 files changed, 33 insertions, 0 deletions
diff --git a/target/linux/generic-2.6/patches-2.6.30/015-arm_export___cpu_flush_dcache_page.patch b/target/linux/generic-2.6/patches-2.6.30/015-arm_export___cpu_flush_dcache_page.patch
new file mode 100644
index 0000000..5b43c87
--- /dev/null
+++ b/target/linux/generic-2.6/patches-2.6.30/015-arm_export___cpu_flush_dcache_page.patch
@@ -0,0 +1,33 @@
+From ba9b42e4ff5eb68f9c946378229d7e45299d7151 Mon Sep 17 00:00:00 2001
+From: Russell King <rmk@dyn-67.arm.linux.org.uk>
+Date: Sun, 5 Jul 2009 10:50:37 +0100
+Subject: [PATCH] [ARM] export __cpu_flush_dcache_page
+
+Now required for libsas:
+
+ Kernel: arch/arm/boot/Image is ready
+ Kernel: arch/arm/boot/zImage is ready
+ Building modules, stage 2.
+ MODPOST 1096 modules
+ERROR: "xscale_flush_kern_dcache_page" [drivers/scsi/libsas/libsas.ko] undefined!
+
+Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
+---
+ arch/arm/mm/proc-syms.c | 1 +
+ 1 files changed, 1 insertions(+), 0 deletions(-)
+
+diff --git a/arch/arm/mm/proc-syms.c b/arch/arm/mm/proc-syms.c
+index 195e48e..ac5c800 100644
+--- a/arch/arm/mm/proc-syms.c
++++ b/arch/arm/mm/proc-syms.c
+@@ -27,6 +27,7 @@ EXPORT_SYMBOL(__cpuc_flush_kern_all);
+ EXPORT_SYMBOL(__cpuc_flush_user_all);
+ EXPORT_SYMBOL(__cpuc_flush_user_range);
+ EXPORT_SYMBOL(__cpuc_coherent_kern_range);
++EXPORT_SYMBOL(__cpuc_flush_dcache_page);
+ EXPORT_SYMBOL(dmac_inv_range); /* because of flush_ioremap_region() */
+ #else
+ EXPORT_SYMBOL(cpu_cache);
+--
+1.6.5.1
+