arm64: Remove stack duplicating code from jprobes
authorDavid A. Long <dave.long@linaro.org>
Wed, 10 Aug 2016 20:44:51 +0000 (16:44 -0400)
committerCatalin Marinas <catalin.marinas@arm.com>
Thu, 11 Aug 2016 16:38:16 +0000 (17:38 +0100)
commitad05711cec12131e1277ce749a99d08ecf233aa7
treeca1f1c19acc86fb174e59ceda8e1bd32279b2f95
parent7f1d642fbb5c356519617c24757a0cbed7f800a8
arm64: Remove stack duplicating code from jprobes

Because the arm64 calling standard allows stacked function arguments to be
anywhere in the stack frame, do not attempt to duplicate the stack frame for
jprobes handler functions.

Documentation changes to describe this issue have been broken out into a
separate patch in order to simultaneously address them in other
architecture(s).

Signed-off-by: David A. Long <dave.long@linaro.org>
Acked-by: Masami Hiramatsu <mhiramat@kernel.org>
Acked-by: Marc Zyngier <marc.zyngier@arm.com>
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
arch/arm64/include/asm/kprobes.h
arch/arm64/kernel/probes/kprobes.c