aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm64/include/asm/kprobes.h
diff options
context:
space:
mode:
authorDavid A. Long <dave.long@linaro.org>2016-08-10 16:44:51 -0400
committerCatalin Marinas <catalin.marinas@arm.com>2016-08-11 17:38:16 +0100
commitad05711cec12131e1277ce749a99d08ecf233aa7 (patch)
treeca1f1c19acc86fb174e59ceda8e1bd32279b2f95 /arch/arm64/include/asm/kprobes.h
parentdrivers/perf: arm-pmu: Fix handling of SPI lacking "interrupt-affinity" property (diff)
downloadlinux-dev-ad05711cec12131e1277ce749a99d08ecf233aa7.tar.xz
linux-dev-ad05711cec12131e1277ce749a99d08ecf233aa7.zip
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.h2
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 *);