summaryrefslogtreecommitdiffstats
path: root/arch/arm/mm/proc-syms.c
diff options
context:
space:
mode:
authorWill Deacon <will.deacon@arm.com>2013-01-22 12:00:54 +0100
committerWill Deacon <will.deacon@arm.com>2013-03-26 10:55:34 +0100
commitd455bac223d6f9858b29a29272756243ec3d3904 (patch)
tree93a1abb2c9b3e23a5389dcc1ccd9710bd91eb095 /arch/arm/mm/proc-syms.c
parentARM: mm: remove broken condition check for v4 flushing (diff)
downloadlinux-d455bac223d6f9858b29a29272756243ec3d3904.tar.xz
linux-d455bac223d6f9858b29a29272756243ec3d3904.zip
ARM: modules: don't export cpu_set_pte_ext when !MMU
cpu_set_pte_ext is only guaranteed to be defined when CONFIG_MMU, so don't export it to modules otherwise. Signed-off-by: Will Deacon <will.deacon@arm.com>
Diffstat (limited to 'arch/arm/mm/proc-syms.c')
-rw-r--r--arch/arm/mm/proc-syms.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm/mm/proc-syms.c b/arch/arm/mm/proc-syms.c
index 3e6210b4d6d4..054b491ff764 100644
--- a/arch/arm/mm/proc-syms.c
+++ b/arch/arm/mm/proc-syms.c
@@ -17,7 +17,9 @@
#ifndef MULTI_CPU
EXPORT_SYMBOL(cpu_dcache_clean_area);
+#ifdef CONFIG_MMU
EXPORT_SYMBOL(cpu_set_pte_ext);
+#endif
#else
EXPORT_SYMBOL(processor);
#endif