提交 eb8451e0 编写于 作者: G Geert Uytterhoeven 提交者: Max Filippov

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: NGeert Uytterhoeven <geert@linux-m68k.org>
Reviewed-by: NKees Cook <keescook@chromium.org>
Signed-off-by: NMax Filippov <jcmvbkbc@gmail.com>
上级 455c6fdb
...@@ -105,6 +105,7 @@ EXPORT_SYMBOL(csum_partial_copy_generic); ...@@ -105,6 +105,7 @@ EXPORT_SYMBOL(csum_partial_copy_generic);
* Architecture-specific symbols * Architecture-specific symbols
*/ */
EXPORT_SYMBOL(__xtensa_copy_user); EXPORT_SYMBOL(__xtensa_copy_user);
EXPORT_SYMBOL(__invalidate_icache_range);
/* /*
* Kernel hacking ... * Kernel hacking ...
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册