summaryrefslogtreecommitdiffstats
path: root/arch/powerpc/kernel/ppc_ksyms.c
diff options
context:
space:
mode:
authorJeff Mahoney <jeffm@suse.com>2014-04-27 18:10:43 -0400
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>2014-04-28 13:08:46 +1000
commit28ea3c7529388c1e4177336a0e655c6c7272fd1c (patch)
treef119f7b7d2d1d6e4832b82d0a5e60f8e63df683f /arch/powerpc/kernel/ppc_ksyms.c
parenta798c10faf62a505d24e5f6213fbaf904a39623f (diff)
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 <jeffm@suse.com> Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Diffstat (limited to 'arch/powerpc/kernel/ppc_ksyms.c')
-rw-r--r--arch/powerpc/kernel/ppc_ksyms.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/powerpc/kernel/ppc_ksyms.c b/arch/powerpc/kernel/ppc_ksyms.c
index 3bd77edd761..450850a49dc 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