]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
arm64: kprobes: remove kprobe_exceptions_notify
authorNaveen N. Rao <naveen.n.rao@linux.vnet.ibm.com>
Mon, 6 Mar 2017 19:04:57 +0000 (00:34 +0530)
committerWill Deacon <will.deacon@arm.com>
Fri, 10 Mar 2017 17:41:19 +0000 (17:41 +0000)
Commit fc62d0207ae0 ("kprobes: Introduce weak variant of
kprobe_exceptions_notify()") introduces a generic empty version of the
function for architectures that don't need special handling, like arm64.
As such, remove the arch/arm64/ specific handler.

Signed-off-by: Naveen N. Rao <naveen.n.rao@linux.vnet.ibm.com>
Signed-off-by: Will Deacon <will.deacon@arm.com>
arch/arm64/kernel/probes/kprobes.c

index 2a07aae5b8a26431edcdfd2534a856474fc00b44..c5c45942fb6e6693c5f8c195bb6596e2fa9f6ff2 100644 (file)
@@ -372,12 +372,6 @@ int __kprobes kprobe_fault_handler(struct pt_regs *regs, unsigned int fsr)
        return 0;
 }
 
-int __kprobes kprobe_exceptions_notify(struct notifier_block *self,
-                                      unsigned long val, void *data)
-{
-       return NOTIFY_DONE;
-}
-
 static void __kprobes kprobe_handler(struct pt_regs *regs)
 {
        struct kprobe *p, *cur_kprobe;