OSDN Git Service
(root)
/
uclinux-h8
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
455c6fd
)
xtensa: Export __invalidate_icache_range
author
Geert Uytterhoeven
<geert@linux-m68k.org>
Thu, 27 Feb 2014 13:41:14 +0000
(14:41 +0100)
committer
Max Filippov
<jcmvbkbc@gmail.com>
Tue, 1 Apr 2014 21:35:49 +0000
(
01:35
+0400)
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>
arch/xtensa/kernel/xtensa_ksyms.c
patch
|
blob
|
history
diff --git
a/arch/xtensa/kernel/xtensa_ksyms.c
b/arch/xtensa/kernel/xtensa_ksyms.c
index
80b33ed
..
88eab32
100644
(file)
--- 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 ...