summaryrefslogtreecommitdiffstats
path: root/arch/sh/kernel/sh_ksyms.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/sh/kernel/sh_ksyms.c')
-rw-r--r--arch/sh/kernel/sh_ksyms.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/sh/kernel/sh_ksyms.c b/arch/sh/kernel/sh_ksyms.c
index bf59d73415d7..d3cbfa2ad4a7 100644
--- a/arch/sh/kernel/sh_ksyms.c
+++ b/arch/sh/kernel/sh_ksyms.c
@@ -89,7 +89,8 @@ EXPORT_SYMBOL(flush_dcache_page);
EXPORT_SYMBOL(__flush_purge_region);
#endif
-#ifdef CONFIG_MMU
+#if defined(CONFIG_MMU) && (defined(CONFIG_CPU_SH4) || \
+ defined(CONFIG_SH7705_CACHE_32KB))
EXPORT_SYMBOL(clear_user_page);
#endif
OpenPOWER on IntegriCloud