diff options
author | David A. Long <dave.long@linaro.org> | 2016-08-10 23:44:51 +0300 |
---|---|---|
committer | Catalin Marinas <catalin.marinas@arm.com> | 2016-08-11 19:38:16 +0300 |
commit | ad05711cec12131e1277ce749a99d08ecf233aa7 (patch) | |
tree | ca1f1c19acc86fb174e59ceda8e1bd32279b2f95 /arch/arm64/include/asm/kprobes.h | |
parent | 7f1d642fbb5c356519617c24757a0cbed7f800a8 (diff) | |
download | linux-ad05711cec12131e1277ce749a99d08ecf233aa7.tar.xz |
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>
Diffstat (limited to 'arch/arm64/include/asm/kprobes.h')
-rw-r--r-- | arch/arm64/include/asm/kprobes.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/arch/arm64/include/asm/kprobes.h b/arch/arm64/include/asm/kprobes.h index 61b49150dfa3..1737aecfcc5e 100644 --- a/arch/arm64/include/asm/kprobes.h +++ b/arch/arm64/include/asm/kprobes.h @@ -22,7 +22,6 @@ #define __ARCH_WANT_KPROBES_INSN_SLOT #define MAX_INSN_SIZE 1 -#define MAX_STACK_SIZE 128 #define flush_insn_slot(p) do { } while (0) #define kretprobe_blacklist_size 0 @@ -47,7 +46,6 @@ struct kprobe_ctlblk { struct prev_kprobe prev_kprobe; struct kprobe_step_ctx ss_ctx; struct pt_regs jprobe_saved_regs; - char jprobes_stack[MAX_STACK_SIZE]; }; void arch_remove_kprobe(struct kprobe *); |