From: Andrew Morton i386 allmodconfig: ERROR: "jprobe_return" [net/ipv4/tcp_probe.ko] undefined! ERROR: "jprobe_return" [net/dccp/dccp_probe.ko] undefined! ERROR: "jprobe_return" [drivers/misc/lkdtm.ko] undefined! Cc: "Luck, Tony" Cc: Ananth N Mavinakayanahalli Cc: Anil S Keshavamurthy Cc: Len Brown Cc: Peter Chubb Cc: Prasanna S Panchamukhi Signed-off-by: Andrew Morton --- kernel/kprobes.c | 3 +++ 1 file changed, 3 insertions(+) diff -puN kernel/kprobes.c~fix-compilation-with-gcc-42-fix kernel/kprobes.c --- a/kernel/kprobes.c~fix-compilation-with-gcc-42-fix +++ a/kernel/kprobes.c @@ -1063,6 +1063,9 @@ EXPORT_SYMBOL_GPL(register_kprobe); EXPORT_SYMBOL_GPL(unregister_kprobe); EXPORT_SYMBOL_GPL(register_jprobe); EXPORT_SYMBOL_GPL(unregister_jprobe); +#ifdef CONFIG_KPROBES +EXPORT_SYMBOL_GPL(jprobe_return); +#endif #ifdef CONFIG_KPROBES EXPORT_SYMBOL_GPL(register_kretprobe); _