From: Will Deacon Date: Tue, 22 Jan 2013 11:00:54 +0000 (+0000) Subject: ARM: modules: don't export cpu_set_pte_ext when !MMU X-Git-Tag: v3.9-rc8~5^2~6^2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=d455bac223d6f9858b29a29272756243ec3d3904;p=platform%2Fkernel%2Flinux-3.10.git 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 --- diff --git a/arch/arm/mm/proc-syms.c b/arch/arm/mm/proc-syms.c index 3e6210b..054b491 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