[kernel] update to 2.6.30, refresh patches
[openwrt-10.03/.git] / target / linux / generic-2.6 / patches-2.6.30 / 015-arm_export___cpu_flush_dcache_page.patch
1 From ba9b42e4ff5eb68f9c946378229d7e45299d7151 Mon Sep 17 00:00:00 2001
2 From: Russell King <rmk@dyn-67.arm.linux.org.uk>
3 Date: Sun, 5 Jul 2009 10:50:37 +0100
4 Subject: [PATCH] [ARM] export __cpu_flush_dcache_page
5
6 Now required for libsas:
7
8   Kernel: arch/arm/boot/Image is ready
9   Kernel: arch/arm/boot/zImage is ready
10   Building modules, stage 2.
11   MODPOST 1096 modules
12 ERROR: "xscale_flush_kern_dcache_page" [drivers/scsi/libsas/libsas.ko] undefined!
13
14 Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
15 ---
16  arch/arm/mm/proc-syms.c |    1 +
17  1 files changed, 1 insertions(+), 0 deletions(-)
18
19 --- a/arch/arm/mm/proc-syms.c
20 +++ b/arch/arm/mm/proc-syms.c
21 @@ -27,6 +27,7 @@ EXPORT_SYMBOL(__cpuc_flush_kern_all);
22  EXPORT_SYMBOL(__cpuc_flush_user_all);
23  EXPORT_SYMBOL(__cpuc_flush_user_range);
24  EXPORT_SYMBOL(__cpuc_coherent_kern_range);
25 +EXPORT_SYMBOL(__cpuc_flush_dcache_page);
26  EXPORT_SYMBOL(dmac_inv_range);  /* because of flush_ioremap_region() */
27  #else
28  EXPORT_SYMBOL(cpu_cache);