summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorLinux Build Service Account <lnxbuild@quicinc.com>2017-06-08 19:03:19 -0700
committerGerrit - the friendly Code Review server <code-review@localhost>2017-06-08 19:03:18 -0700
commitbc2254655174adf0c5cca54937b2969855314eb3 (patch)
tree0bd44b2012efbbbb3244dccd19d543018b7f18db /include/linux
parent9725c4d90bee3b0be78bb1fdc084df1ec08d7d24 (diff)
parent2025064255a87606e2da561de77dcd68daf8b26d (diff)
Merge "Merge branch 'android-4.4@9bc4622' into branch 'msm-4.4'"
Diffstat (limited to 'include/linux')
-rw-r--r--include/linux/kprobes.h4
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,
int write, void __user *buffer,
size_t *length, loff_t *ppos);
#endif
-
+extern void wait_for_kprobe_optimizer(void);
+#else
+static inline void wait_for_kprobe_optimizer(void) { }
#endif /* CONFIG_OPTPROBES */
#ifdef CONFIG_KPROBES_ON_FTRACE
extern void kprobe_ftrace_handler(unsigned long ip, unsigned long parent_ip,