diff --git a/[refs] b/[refs] index fa3f40208750..0d101b19a690 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 2aa3a7f8660355c3dddead17e224545c1a3d5a5f +refs/heads/master: a3460a59747cfddfa7be4758e5ef08bf5d751d59 diff --git a/trunk/include/linux/ptrace.h b/trunk/include/linux/ptrace.h index 597e4fdb97fe..07fd922d6928 100644 --- a/trunk/include/linux/ptrace.h +++ b/trunk/include/linux/ptrace.h @@ -403,6 +403,10 @@ static inline void user_single_step_siginfo(struct task_struct *tsk, #define arch_ptrace_stop(code, info) do { } while (0) #endif +#ifndef current_pt_regs +#define current_pt_regs() task_pt_regs(current) +#endif + extern int task_current_syscall(struct task_struct *target, long *callno, unsigned long args[6], unsigned int maxargs, unsigned long *sp, unsigned long *pc);