Thread (5 messages) flat view 5 messages, 2 authors, 2018-06-08

Re: [RFC PATCH -tip v5 18/27] powerpc/kprobes: Don't call the ->break_handler() in arm kprobes code

From: Naveen N. Rao <hidden>
Date: 2018-06-07 16:37:46
Also in: linux-arch, lkml

Masami Hiramatsu wrote:
On Thu, 07 Jun 2018 17:07:00 +0530
"Naveen N. Rao" [off-list ref] wrote:
=20
quoted
Masami Hiramatsu wrote:
quoted
Don't call the ->break_handler() from the arm kprobes code,
					    ^^^ powerpc
=20
quoted
because it was only used by jprobes which got removed.
=20
This also makes skip_singlestep() a static function since
only ftrace-kprobe.c is using this function.
=20
Signed-off-by: Masami Hiramatsu <mhiramat@kernel.org>
Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Cc: Paul Mackerras <redacted>
Cc: Michael Ellerman <mpe@ellerman.id.au>
Cc: "Naveen N. Rao" <redacted>
Cc: linuxppc-dev@lists.ozlabs.org
---
 arch/powerpc/include/asm/kprobes.h   |   10 ----------
 arch/powerpc/kernel/kprobes-ftrace.c |   16 +++-------------
 arch/powerpc/kernel/kprobes.c        |   31 +++++++++++--------------=
------
quoted
quoted
 3 files changed, 14 insertions(+), 43 deletions(-)
=20
With 2 small comments...
=20
2 ? or 1 ?
Two, with one in the commit log above :)

- Naveen

=
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help