From: Jeff Mahoney Date: Sun, 27 Apr 2014 22:10:43 +0000 (-0400) Subject: powerpc: Export flush_icache_range X-Git-Tag: accepted/tizen/common/20141203.182822~129^2~32 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=28ea3c7529388c1e4177336a0e655c6c7272fd1c;p=platform%2Fkernel%2Flinux-arm64.git powerpc: Export flush_icache_range Commit aac416fc38c (lkdtm: flush icache and report actions) calls flush_icache_range from a module. It's exported on most architectures that implement it, but not on powerpc. This patch exports it to fix the module link failure. Signed-off-by: Jeff Mahoney Signed-off-by: Benjamin Herrenschmidt --- diff --git a/arch/powerpc/kernel/ppc_ksyms.c b/arch/powerpc/kernel/ppc_ksyms.c index 3bd77ed..450850a 100644 --- a/arch/powerpc/kernel/ppc_ksyms.c +++ b/arch/powerpc/kernel/ppc_ksyms.c @@ -120,6 +120,7 @@ EXPORT_SYMBOL(giveup_spe); EXPORT_SYMBOL(flush_instruction_cache); #endif EXPORT_SYMBOL(flush_dcache_range); +EXPORT_SYMBOL(flush_icache_range); #ifdef CONFIG_SMP #ifdef CONFIG_PPC32