summaryrefslogtreecommitdiff
path: root/arch/xtensa
diff options
context:
space:
mode:
authorGeert Uytterhoeven <geert@linux-m68k.org>2014-02-27 14:41:14 +0100
committerMax Filippov <jcmvbkbc@gmail.com>2014-04-02 01:35:49 +0400
commiteb8451e0aee1816395506e97965d0917754072de (patch)
tree3f4a4d1fb395de07ccb8503978cc2a078df2d3ec /arch/xtensa
parent455c6fdbd219161bd09b1165f11699d6d73de11c (diff)
xtensa: Export __invalidate_icache_range
When modular code calls flush_icache_range(): ERROR: "__invalidate_icache_range" [drivers/misc/lkdtm.ko] undefined! make[1]: *** [__modpost] Error 1 Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org> Reviewed-by: Kees Cook <keescook@chromium.org> Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
Diffstat (limited to 'arch/xtensa')
-rw-r--r--arch/xtensa/kernel/xtensa_ksyms.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/xtensa/kernel/xtensa_ksyms.c b/arch/xtensa/kernel/xtensa_ksyms.c
index 80b33ed51f31..88eab32be29e 100644
--- a/arch/xtensa/kernel/xtensa_ksyms.c
+++ b/arch/xtensa/kernel/xtensa_ksyms.c
@@ -105,6 +105,7 @@ EXPORT_SYMBOL(csum_partial_copy_generic);
* Architecture-specific symbols
*/
EXPORT_SYMBOL(__xtensa_copy_user);
+EXPORT_SYMBOL(__invalidate_icache_range);
/*
* Kernel hacking ...