summaryrefslogtreecommitdiffstats
path: root/arch/x86/um
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2012-12-14 01:50:19 -0500
committerAl Viro <viro@zeniv.linux.org.uk>2012-12-19 18:07:39 -0500
commit5208ba24e7826519d310474dedaed2f84b0ab6a0 (patch)
tree096a174031c17e47128918da5d8b609c886ca5e0 /arch/x86/um
parentae903caae267154de7cf8576b130ff474630596b (diff)
downloadop-kernel-dev-5208ba24e7826519d310474dedaed2f84b0ab6a0.zip
op-kernel-dev-5208ba24e7826519d310474dedaed2f84b0ab6a0.tar.gz
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/x86/um')
-rw-r--r--arch/x86/um/asm/ptrace.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/x86/um/asm/ptrace.h b/arch/x86/um/asm/ptrace.h
index 75513325..54f8102 100644
--- a/arch/x86/um/asm/ptrace.h
+++ b/arch/x86/um/asm/ptrace.h
@@ -86,4 +86,5 @@ extern long arch_prctl(struct task_struct *task, int code,
unsigned long __user *addr);
#endif
+#define user_stack_pointer(regs) PT_REGS_SP(regs)
#endif /* __UM_X86_PTRACE_H */
OpenPOWER on IntegriCloud