]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/blobdiff - kernel/kprobes.c
kprobes: Convert kprobe_exceptions_notify to use NOKPROBE_SYMBOL
[mirror_ubuntu-artful-kernel.git] / kernel / kprobes.c
index 448759d4a263fd5d7051015bcad5ba701abb7b64..4780ec23603539396e9e27ad3577a075bd995814 100644 (file)
@@ -1740,11 +1740,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)
+int __weak kprobe_exceptions_notify(struct notifier_block *self,
+                                       unsigned long val, void *data)
 {
        return NOTIFY_DONE;
 }
+NOKPROBE_SYMBOL(kprobe_exceptions_notify);
 
 static struct notifier_block kprobe_exceptions_nb = {
        .notifier_call = kprobe_exceptions_notify,