]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
powerpc/kprobes: Remove kprobe_exceptions_notify()
authorNaveen N. Rao <naveen.n.rao@linux.vnet.ibm.com>
Tue, 7 Feb 2017 19:54:16 +0000 (01:24 +0530)
committerMichael Ellerman <mpe@ellerman.id.au>
Fri, 10 Feb 2017 03:43:15 +0000 (14:43 +1100)
... as the generic weak variant will do.

Acked-by: Masami Hiramatsu <mhiramat@kernel.org>
Signed-off-by: Naveen N. Rao <naveen.n.rao@linux.vnet.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
arch/powerpc/kernel/kprobes.c

index 45e4f82b230dad3783bc756fc34449b4990a8819..fce05a38851c7f1f6e4458e93bdd3041e99cd2cd 100644 (file)
@@ -475,15 +475,6 @@ int __kprobes kprobe_fault_handler(struct pt_regs *regs, int trapnr)
        return 0;
 }
 
-/*
- * Wrapper routine to for handling exceptions.
- */
-int __kprobes kprobe_exceptions_notify(struct notifier_block *self,
-                                      unsigned long val, void *data)
-{
-       return NOTIFY_DONE;
-}
-
 unsigned long arch_deref_entry_point(void *entry)
 {
        return ppc_global_function_entry(entry);