From: Imre Kaloz Date: Wed, 11 Nov 2009 14:41:30 +0000 (+0000) Subject: export __cpuc_flush_dcache_page for ARM targets X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=fb7c762ad66d6b2fb8ce77897d3726158f782682;p=openwrt%2Fstaging%2Flinusw.git export __cpuc_flush_dcache_page for ARM targets SVN-Revision: 18375 --- 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 0000000000..5b43c87a8c --- /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 +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 +--- + 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 +