summaryrefslogtreecommitdiff
path: root/kernel
diff options
context:
space:
mode:
authorStephen Rothwell <sfr@canb.auug.org.au>2017-02-17 09:05:27 +1100
committerStephen Rothwell <sfr@canb.auug.org.au>2017-02-17 09:05:27 +1100
commit71c4b87b0594bac6a87fec782261897da7abd2d9 (patch)
tree2720f2cb6f3ff329869c6821068c621310690289 /kernel
parent9c0755384f0e5d0133ba27e0aa5ba6f76bf3b351 (diff)
parentf84775c2d5d92581f2df60d53b574b0405c85be3 (diff)
Merge remote-tracking branch 'powerpc/next'
Diffstat (limited to 'kernel')
-rw-r--r--kernel/kprobes.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/kernel/kprobes.c b/kernel/kprobes.c
index 43460104f119..60a702a05684 100644
--- a/kernel/kprobes.c
+++ b/kernel/kprobes.c
@@ -1705,6 +1705,12 @@ void unregister_kprobes(struct kprobe **kps, int num)
}
EXPORT_SYMBOL_GPL(unregister_kprobes);
+int __weak __kprobes kprobe_exceptions_notify(struct notifier_block *self,
+ unsigned long val, void *data)
+{
+ return NOTIFY_DONE;
+}
+
static struct notifier_block kprobe_exceptions_nb = {
.notifier_call = kprobe_exceptions_notify,
.priority = 0x7fffffff /* we need to be notified first */