diff options
author | Will Deacon <will.deacon@arm.com> | 2013-01-22 06:00:54 -0500 |
---|---|---|
committer | Will Deacon <will.deacon@arm.com> | 2013-03-26 05:55:34 -0400 |
commit | d455bac223d6f9858b29a29272756243ec3d3904 (patch) | |
tree | 93a1abb2c9b3e23a5389dcc1ccd9710bd91eb095 | |
parent | 794fe85da484353dedcb5dc6da14d923d0645fc3 (diff) |
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>
-rw-r--r-- | arch/arm/mm/proc-syms.c | 2 |
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 @@ | |||
17 | 17 | ||
18 | #ifndef MULTI_CPU | 18 | #ifndef MULTI_CPU |
19 | EXPORT_SYMBOL(cpu_dcache_clean_area); | 19 | EXPORT_SYMBOL(cpu_dcache_clean_area); |
20 | #ifdef CONFIG_MMU | ||
20 | EXPORT_SYMBOL(cpu_set_pte_ext); | 21 | EXPORT_SYMBOL(cpu_set_pte_ext); |
22 | #endif | ||
21 | #else | 23 | #else |
22 | EXPORT_SYMBOL(processor); | 24 | EXPORT_SYMBOL(processor); |
23 | #endif | 25 | #endif |