diff options
Diffstat (limited to 'include/linux/kprobes.h')
-rw-r--r-- | include/linux/kprobes.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/include/linux/kprobes.h b/include/linux/kprobes.h index 8f6849084248..e23392517db9 100644 --- a/include/linux/kprobes.h +++ b/include/linux/kprobes.h | |||
@@ -330,7 +330,9 @@ extern int proc_kprobes_optimization_handler(struct ctl_table *table, | |||
330 | int write, void __user *buffer, | 330 | int write, void __user *buffer, |
331 | size_t *length, loff_t *ppos); | 331 | size_t *length, loff_t *ppos); |
332 | #endif | 332 | #endif |
333 | 333 | extern void wait_for_kprobe_optimizer(void); | |
334 | #else | ||
335 | static inline void wait_for_kprobe_optimizer(void) { } | ||
334 | #endif /* CONFIG_OPTPROBES */ | 336 | #endif /* CONFIG_OPTPROBES */ |
335 | #ifdef CONFIG_KPROBES_ON_FTRACE | 337 | #ifdef CONFIG_KPROBES_ON_FTRACE |
336 | extern void kprobe_ftrace_handler(unsigned long ip, unsigned long parent_ip, | 338 | extern void kprobe_ftrace_handler(unsigned long ip, unsigned long parent_ip, |