summaryrefslogtreecommitdiffstats
path: root/arch/tile
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2012-12-14 07:50:19 +0100
committerAl Viro <viro@zeniv.linux.org.uk>2012-12-20 00:07:39 +0100
commit5208ba24e7826519d310474dedaed2f84b0ab6a0 (patch)
tree096a174031c17e47128918da5d8b609c886ca5e0 /arch/tile
parentBury the conditionals from kernel_thread/kernel_execve series (diff)
downloadlinux-5208ba24e7826519d310474dedaed2f84b0ab6a0.tar.xz
linux-5208ba24e7826519d310474dedaed2f84b0ab6a0.zip
missing user_stack_pointer() instances
for the architectures that have usp in pt_regs and do not have user_stack_pointer() already defined. Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'arch/tile')
-rw-r--r--arch/tile/include/asm/ptrace.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/tile/include/asm/ptrace.h b/arch/tile/include/asm/ptrace.h
index 1a4fd9ab0ee1..3f792b6d60d5 100644
--- a/arch/tile/include/asm/ptrace.h
+++ b/arch/tile/include/asm/ptrace.h
@@ -36,6 +36,7 @@ typedef unsigned long pt_reg_t;
#define instruction_pointer(regs) ((regs)->pc)
#define profile_pc(regs) instruction_pointer(regs)
+#define user_stack_pointer(regs) ((regs)->sp)
/* Does the process account for user or for system time? */
#define user_mode(regs) (EX1_PL((regs)->ex1) == USER_PL)