summaryrefslogtreecommitdiffstats
path: root/arch/arm/include/asm/ptrace.h
diff options
context:
space:
mode:
authorWade Farnsworth <wade_farnsworth@mentor.com>2012-04-04 17:19:47 +0200
committerRussell King <rmk+kernel@arm.linux.org.uk>2012-04-25 20:49:28 +0200
commit0693bf68148c4473158e435383e75af70b704f78 (patch)
tree8bb62e5b4ad99f9dd87d90949b0772cb81cdd96f /arch/arm/include/asm/ptrace.h
parentARM: 7373/1: add support for the generic syscall.h interface (diff)
downloadlinux-0693bf68148c4473158e435383e75af70b704f78.tar.xz
linux-0693bf68148c4473158e435383e75af70b704f78.zip
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__ */