Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit d455bac2 authored by Will Deacon's avatar Will Deacon
Browse files

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: default avatarWill Deacon <will.deacon@arm.com>
parent 794fe85d
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -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