Thread (17 messages) 17 messages, 5 authors, 2013-02-10
STALE4875d
Revisions (2)
  1. v1 current
  2. v2 [diff vs current]

[PATCH 5/6] ARM: modules: don't export cpu_set_pte_ext when !MMU

From: Will Deacon <hidden>
Date: 2013-01-30 14:27:48
Subsystem: arm port, the rest · Maintainers: Russell King, Linus Torvalds

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 <redacted>
---
 arch/arm/mm/proc-syms.c | 2 ++
 1 file changed, 2 insertions(+)
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
-- 
1.8.0
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help