Skip to content

Commit bedbeec

Browse files
committed
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: 3b8c9f1 ("arm64: IPI each CPU after invalidating the I-cache for kernel mappings") Signed-off-by: Will Deacon <[email protected]>
1 parent e67ecf6 commit bedbeec

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

arch/arm64/mm/flush.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ EXPORT_SYMBOL(flush_dcache_page);
8282
/*
8383
* Additional functions defined in assembly.
8484
*/
85-
EXPORT_SYMBOL(flush_icache_range);
85+
EXPORT_SYMBOL(__flush_icache_range);
8686

8787
#ifdef CONFIG_ARCH_HAS_PMEM_API
8888
void arch_wb_cache_pmem(void *addr, size_t size)

0 commit comments

Comments
 (0)