]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit2b7fbd5dd48ce3efa588e439c5b3df5f8f9235b9
treeca1f1c19acc86fb174e59ceda8e1bd32279b2f95
parent5fc223fc20a302ebb541d0f1275d1cec814dc962
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