Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1575997

[PATCH 3/3] powerpc: kprobes: remove kprobe_exceptions_notify()

From "Naveen N. Rao" <naveen.n.rao@linux.vnet.ibm.com>
Newsgroups linux.kernel
Subject [PATCH 3/3] powerpc: kprobes: remove kprobe_exceptions_notify()
Date 2017-02-07 21:00 +0100
Message-ID <t8k5I-78e-13@gated-at.bofh.it> (permalink)
References <t8k5H-78e-1@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


... as the weak variant will do.

Signed-off-by: Naveen N. Rao <naveen.n.rao@linux.vnet.ibm.com>
---
 arch/powerpc/kernel/kprobes.c | 9 ---------
 1 file changed, 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)
 	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);
-- 
2.11.0

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH 1/3] kprobes: introduce weak variant of kprobe_exceptions_notify "Naveen N. Rao" <naveen.n.rao@linux.vnet.ibm.com> - 2017-02-07 21:00 +0100
  [PATCH 3/3] powerpc: kprobes: remove kprobe_exceptions_notify() "Naveen N. Rao" <naveen.n.rao@linux.vnet.ibm.com> - 2017-02-07 21:00 +0100
  [PATCH 2/3] arm: kprobes: remove kprobe_exceptions_notify "Naveen N. Rao" <naveen.n.rao@linux.vnet.ibm.com> - 2017-02-07 21:00 +0100
  Re: [PATCH 1/3] kprobes: introduce weak variant of  kprobe_exceptions_notify Masami Hiramatsu <mhiramat@kernel.org> - 2017-02-08 03:00 +0100
  Re: [PATCH 1/3] kprobes: introduce weak variant of kprobe_exceptions_notify Michael Ellerman <mpe@ellerman.id.au> - 2017-02-10 04:50 +0100
    Re: [PATCH 1/3] kprobes: introduce weak variant of  kprobe_exceptions_notify Ingo Molnar <mingo@kernel.org> - 2017-02-10 09:00 +0100
    Re: [PATCH 1/3] kprobes: introduce weak variant of  kprobe_exceptions_notify "Naveen N. Rao" <naveen.n.rao@linux.vnet.ibm.com> - 2017-02-13 09:40 +0100

csiph-web