mirror of https://gitee.com/openkylin/linux.git
x86: ptrace.c declare functions before they get used
Signed-off-by: Jaswinder Singh <jaswinder@infradead.org>
This commit is contained in:
parent
36454936c0
commit
c1686aeaf0
|
@ -148,6 +148,9 @@ extern void send_sigtrap(struct task_struct *tsk, struct pt_regs *regs,
|
|||
void signal_fault(struct pt_regs *regs, void __user *frame, char *where);
|
||||
#endif
|
||||
|
||||
extern long syscall_trace_enter(struct pt_regs *);
|
||||
extern void syscall_trace_leave(struct pt_regs *);
|
||||
|
||||
static inline unsigned long regs_return_value(struct pt_regs *regs)
|
||||
{
|
||||
return regs->ax;
|
||||
|
|
Loading…
Reference in New Issue