diff options
author | Naveen N. Rao <naveen.n.rao@linux.vnet.ibm.com> | 2017-02-07 14:54:16 -0500 |
---|---|---|
committer | Michael Ellerman <mpe@ellerman.id.au> | 2017-02-09 22:43:15 -0500 |
commit | 0ddde5004d26c483c9e67005b2be5b4d389e8db2 (patch) | |
tree | aba011ca1044b92e3ebf8a356e8e62cfaecb1ead | |
parent | fc62d0207ae0ebc9d19df68394c0dc925b4a92d1 (diff) |
powerpc/kprobes: Remove kprobe_exceptions_notify()
... 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>
-rw-r--r-- | arch/powerpc/kernel/kprobes.c | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/arch/powerpc/kernel/kprobes.c b/arch/powerpc/kernel/kprobes.c index 45e4f82b230d..fce05a38851c 100644 --- a/arch/powerpc/kernel/kprobes.c +++ b/arch/powerpc/kernel/kprobes.c | |||
@@ -475,15 +475,6 @@ int __kprobes kprobe_fault_handler(struct pt_regs *regs, int trapnr) | |||
475 | return 0; | 475 | return 0; |
476 | } | 476 | } |
477 | 477 | ||
478 | /* | ||
479 | * Wrapper routine to for handling exceptions. | ||
480 | */ | ||
481 | int __kprobes kprobe_exceptions_notify(struct notifier_block *self, | ||
482 | unsigned long val, void *data) | ||
483 | { | ||
484 | return NOTIFY_DONE; | ||
485 | } | ||
486 | |||
487 | unsigned long arch_deref_entry_point(void *entry) | 478 | unsigned long arch_deref_entry_point(void *entry) |
488 | { | 479 | { |
489 | return ppc_global_function_entry(entry); | 480 | return ppc_global_function_entry(entry); |