From: Naveen N. Rao Date: Tue, 7 Feb 2017 19:54:16 +0000 (+0530) Subject: powerpc/kprobes: Remove kprobe_exceptions_notify() X-Git-Tag: v4.11-rc1~36^2~51 X-Git-Url: https://git.kernel.dk/?a=commitdiff_plain;h=0ddde5004d26c483c9e67005b2be5b4d389e8db2;p=linux-block.git powerpc/kprobes: Remove kprobe_exceptions_notify() ... as the generic weak variant will do. Acked-by: Masami Hiramatsu Signed-off-by: Naveen N. Rao Signed-off-by: Michael Ellerman --- 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) 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);