summaryrefslogtreecommitdiff
path: root/arch/arm/include/asm/ptrace.h
diff options
context:
space:
mode:
authorWade Farnsworth <wade_farnsworth@mentor.com>2012-04-04 16:19:47 +0100
committerRussell King <rmk+kernel@arm.linux.org.uk>2012-04-25 19:49:28 +0100
commit0693bf68148c4473158e435383e75af70b704f78 (patch)
tree8bb62e5b4ad99f9dd87d90949b0772cb81cdd96f /arch/arm/include/asm/ptrace.h
parentbf2c9f9866928df60157bc4f1ab39f93a32c754e (diff)
ARM: 7374/1: add TRACEHOOK support
Add calls to tracehook_report_syscall_{entry,exit} and tracehook_signal_handler Signed-off-by: Steven Walter <stevenrwalter@gmail.com> Signed-off-by: Wade Farnsworth <wade_farnsworth@mentor.com> Reviewed-by: Will Deacon <will.deacon@arm.com> Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch/arm/include/asm/ptrace.h')
-rw-r--r--arch/arm/include/asm/ptrace.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/arm/include/asm/ptrace.h b/arch/arm/include/asm/ptrace.h
index 451808ba1211..355ece523f41 100644
--- a/arch/arm/include/asm/ptrace.h
+++ b/arch/arm/include/asm/ptrace.h
@@ -249,6 +249,11 @@ static inline unsigned long kernel_stack_pointer(struct pt_regs *regs)
return regs->ARM_sp;
}
+static inline unsigned long user_stack_pointer(struct pt_regs *regs)
+{
+ return regs->ARM_sp;
+}
+
#endif /* __KERNEL__ */
#endif /* __ASSEMBLY__ */