powerpc/kprobes: Do not disable interrupts for optprobes and kprobes_on_ftrace
authorNaveen N. Rao <naveen.n.rao@linux.vnet.ibm.com>
Mon, 23 Oct 2017 16:37:39 +0000 (22:07 +0530)
committerMichael Ellerman <mpe@ellerman.id.au>
Sun, 12 Nov 2017 12:51:41 +0000 (23:51 +1100)
commitf72180cc93a2c64d4efe0129fa2396ad78be80e3
tree5bcb7d2e763cbd45bcedf15f99bf44ecdf0e1a7d
parent8a2d71a3f2737e2448aa68de2b6052cb570d3d2a
powerpc/kprobes: Do not disable interrupts for optprobes and kprobes_on_ftrace

Per Documentation/kprobes.txt, we don't necessarily need to disable
interrupts before invoking the kprobe handlers. Masami submitted
similar changes for x86 via commit a19b2e3d783964 ("kprobes/x86: Remove
IRQ disabling from ftrace-based/optimized kprobes"). Do the same for
powerpc.

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