diff options
-rw-r--r-- | include/linux/ptrace.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/linux/ptrace.h b/include/linux/ptrace.h index 597e4fdb97fe..07fd922d6928 100644 --- a/include/linux/ptrace.h +++ b/include/linux/ptrace.h | |||
@@ -403,6 +403,10 @@ static inline void user_single_step_siginfo(struct task_struct *tsk, | |||
403 | #define arch_ptrace_stop(code, info) do { } while (0) | 403 | #define arch_ptrace_stop(code, info) do { } while (0) |
404 | #endif | 404 | #endif |
405 | 405 | ||
406 | #ifndef current_pt_regs | ||
407 | #define current_pt_regs() task_pt_regs(current) | ||
408 | #endif | ||
409 | |||
406 | extern int task_current_syscall(struct task_struct *target, long *callno, | 410 | extern int task_current_syscall(struct task_struct *target, long *callno, |
407 | unsigned long args[6], unsigned int maxargs, | 411 | unsigned long args[6], unsigned int maxargs, |
408 | unsigned long *sp, unsigned long *pc); | 412 | unsigned long *sp, unsigned long *pc); |