diff options
author | Will Deacon <will.deacon@arm.com> | 2018-07-06 11:21:17 -0400 |
---|---|---|
committer | Will Deacon <will.deacon@arm.com> | 2018-07-06 11:21:17 -0400 |
commit | bedbeec65c6cdec25aab609d557b630c97f81866 (patch) | |
tree | 1d1d30f65d492cade76462ecd55d25fa58b7b53f | |
parent | e67ecf647020d31342d37e73c3766ae02434ed24 (diff) |
arm64: mm: Export __flush_icache_range() to modules
lkdtm calls flush_icache_range(), which results in an out-of-line call
to __flush_icache_range(), which is not exported to modules.
Export the symbol to modules to fix this build breakage.
Fixes: 3b8c9f1cdfc5 ("arm64: IPI each CPU after invalidating the I-cache for kernel mappings")
Signed-off-by: Will Deacon <will.deacon@arm.com>
-rw-r--r-- | arch/arm64/mm/flush.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm64/mm/flush.c b/arch/arm64/mm/flush.c index 1059884f9a6f..9786f9d5d3dc 100644 --- a/arch/arm64/mm/flush.c +++ b/arch/arm64/mm/flush.c | |||
@@ -82,7 +82,7 @@ EXPORT_SYMBOL(flush_dcache_page); | |||
82 | /* | 82 | /* |
83 | * Additional functions defined in assembly. | 83 | * Additional functions defined in assembly. |
84 | */ | 84 | */ |
85 | EXPORT_SYMBOL(flush_icache_range); | 85 | EXPORT_SYMBOL(__flush_icache_range); |
86 | 86 | ||
87 | #ifdef CONFIG_ARCH_HAS_PMEM_API | 87 | #ifdef CONFIG_ARCH_HAS_PMEM_API |
88 | void arch_wb_cache_pmem(void *addr, size_t size) | 88 | void arch_wb_cache_pmem(void *addr, size_t size) |