It is needed when we turn on HAVE_ARCH_TRACEHOOK. Signed-off-by: Simon Marchi <simon.mar...@polymtl.ca> --- arch/tile/include/asm/ptrace.h | 5 +++++ 1 files changed, 5 insertions(+), 0 deletions(-)
diff --git a/arch/tile/include/asm/ptrace.h b/arch/tile/include/asm/ptrace.h index 5ce052e..4be42fb 100644 --- a/arch/tile/include/asm/ptrace.h +++ b/arch/tile/include/asm/ptrace.h @@ -80,6 +80,11 @@ struct task_struct; extern void send_sigtrap(struct task_struct *tsk, struct pt_regs *regs, int error_code); +static inline unsigned long user_stack_pointer(struct pt_regs *regs) +{ + return regs->sp; +} + #ifdef __tilegx__ /* We need this since sigval_t has a user pointer in it, for GETSIGINFO etc. */ #define __ARCH_WANT_COMPAT_SYS_PTRACE -- 1.7.1 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/