projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
794fe85
)
ARM: modules: don't export cpu_set_pte_ext when !MMU
author
Will Deacon
<will.deacon@arm.com>
Tue, 22 Jan 2013 11:00:54 +0000
(11:00 +0000)
committer
Will Deacon
<will.deacon@arm.com>
Tue, 26 Mar 2013 09:55:34 +0000
(09:55 +0000)
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>
arch/arm/mm/proc-syms.c
patch
|
blob
|
blame
|
history
diff --git
a/arch/arm/mm/proc-syms.c
b/arch/arm/mm/proc-syms.c
index 3e6210b4d6d4cc713ba524ab3966760ad1d6f6f8..054b491ff7649ca067ff821770aec80a4da42102 100644
(file)
--- 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