Merge branch 'x86/tracehook' into x86-v28-for-linus-phase1
[pandora-kernel.git] / include / asm-x86 / ptrace.h
index 33a034b..d64a610 100644 (file)
@@ -250,6 +250,11 @@ static inline unsigned long frame_pointer(struct pt_regs *regs)
        return regs->bp;
 }
 
+static inline unsigned long user_stack_pointer(struct pt_regs *regs)
+{
+       return regs->sp;
+}
+
 /*
  * These are defined as per linux/ptrace.h, which see.
  */