summaryrefslogtreecommitdiff
path: root/arch/sh/kernel/sh_ksyms_32.c
diff options
context:
space:
mode:
authorPaul Mundt <lethal@linux-sh.org>2009-10-19 15:52:20 +0900
committerPaul Mundt <lethal@linux-sh.org>2009-10-19 15:52:20 +0900
commit14c011deb4cb906d72b6b2b6880e21c3cc110fcc (patch)
treecc4219582d4164f18419b4fefb87a64d43c4383d /arch/sh/kernel/sh_ksyms_32.c
parenteca28e3764e301fad662743d1e8ba7296cc6a109 (diff)
sh: Fix up cacheflush routine symbol exports.
Fixes up flush_dcache_page() references by modules with run-time cache disabling. Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'arch/sh/kernel/sh_ksyms_32.c')
-rw-r--r--arch/sh/kernel/sh_ksyms_32.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/arch/sh/kernel/sh_ksyms_32.c b/arch/sh/kernel/sh_ksyms_32.c
index 86c270428357..8663c7a49ac7 100644
--- a/arch/sh/kernel/sh_ksyms_32.c
+++ b/arch/sh/kernel/sh_ksyms_32.c
@@ -94,13 +94,10 @@ DECLARE_EXPORT(__udivsi3_i4);
DECLARE_EXPORT(__sdivsi3_i4i);
DECLARE_EXPORT(__udivsi3_i4i);
-#if !defined(CONFIG_CACHE_OFF) && (defined(CONFIG_CPU_SH4) || \
- defined(CONFIG_SH7705_CACHE_32KB))
/* needed by some modules */
EXPORT_SYMBOL(flush_cache_all);
EXPORT_SYMBOL(flush_cache_range);
EXPORT_SYMBOL(flush_dcache_page);
-#endif
#ifdef CONFIG_MCOUNT
DECLARE_EXPORT(mcount);