Skip to content

Commit

Permalink
ARM: modules: don't export cpu_set_pte_ext when !MMU
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Will Deacon committed Mar 26, 2013
1 parent 794fe85 commit d455bac
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions arch/arm/mm/proc-syms.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit d455bac

Please sign in to comment.