summaryrefslogtreecommitdiffstats
path: root/include/linux/ptrace.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/ptrace.h')
-rw-r--r--include/linux/ptrace.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/linux/ptrace.h b/include/linux/ptrace.h
index a89ff04bddd9..a3a9d085f932 100644
--- a/include/linux/ptrace.h
+++ b/include/linux/ptrace.h
@@ -342,6 +342,10 @@ static inline void user_single_step_siginfo(struct task_struct *tsk,
342#define signal_pt_regs() task_pt_regs(current) 342#define signal_pt_regs() task_pt_regs(current)
343#endif 343#endif
344 344
345#ifndef current_user_stack_pointer
346#define current_user_stack_pointer() user_stack_pointer(current_pt_regs())
347#endif
348
345extern int task_current_syscall(struct task_struct *target, long *callno, 349extern int task_current_syscall(struct task_struct *target, long *callno,
346 unsigned long args[6], unsigned int maxargs, 350 unsigned long args[6], unsigned int maxargs,
347 unsigned long *sp, unsigned long *pc); 351 unsigned long *sp, unsigned long *pc);