aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--arch/x86/kernel/kprobes/opt.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/x86/kernel/kprobes/opt.c b/arch/x86/kernel/kprobes/opt.c
index 6adf6e6c2933..544bd41a514c 100644
--- a/arch/x86/kernel/kprobes/opt.c
+++ b/arch/x86/kernel/kprobes/opt.c
@@ -141,6 +141,11 @@ asm (
141 141
142void optprobe_template_func(void); 142void optprobe_template_func(void);
143STACK_FRAME_NON_STANDARD(optprobe_template_func); 143STACK_FRAME_NON_STANDARD(optprobe_template_func);
144NOKPROBE_SYMBOL(optprobe_template_func);
145NOKPROBE_SYMBOL(optprobe_template_entry);
146NOKPROBE_SYMBOL(optprobe_template_val);
147NOKPROBE_SYMBOL(optprobe_template_call);
148NOKPROBE_SYMBOL(optprobe_template_end);
144 149
145#define TMPL_MOVE_IDX \ 150#define TMPL_MOVE_IDX \
146 ((long)optprobe_template_val - (long)optprobe_template_entry) 151 ((long)optprobe_template_val - (long)optprobe_template_entry)