diff options
Diffstat (limited to 'include/linux/ptrace.h')
-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 3db698aee34c..1d24ffad59c5 100644 --- a/include/linux/ptrace.h +++ b/include/linux/ptrace.h | |||
@@ -401,6 +401,10 @@ static inline void user_single_step_siginfo(struct task_struct *tsk, | |||
401 | #define arch_ptrace_stop(code, info) do { } while (0) | 401 | #define arch_ptrace_stop(code, info) do { } while (0) |
402 | #endif | 402 | #endif |
403 | 403 | ||
404 | #ifndef current_pt_regs | ||
405 | #define current_pt_regs() task_pt_regs(current) | ||
406 | #endif | ||
407 | |||
404 | extern int task_current_syscall(struct task_struct *target, long *callno, | 408 | extern int task_current_syscall(struct task_struct *target, long *callno, |
405 | unsigned long args[6], unsigned int maxargs, | 409 | unsigned long args[6], unsigned int maxargs, |
406 | unsigned long *sp, unsigned long *pc); | 410 | unsigned long *sp, unsigned long *pc); |