From 0452e1aa54ed02212990db3cfaf8264637c7405f Mon Sep 17 00:00:00 2001 From: kaloz Date: Wed, 11 Nov 2009 14:41:30 +0000 Subject: [2.6.30] export __cpuc_flush_dcache_page for ARM targets git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18375 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- .../015-arm_export___cpu_flush_dcache_page.patch | 33 ++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 target/linux/generic-2.6/patches-2.6.30/015-arm_export___cpu_flush_dcache_page.patch 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 + -- cgit v1.2.3