x86: ptrace.c declare functions before they get used
Signed-off-by: Jaswinder Singh <jaswinder@infradead.org>
This commit is contained in:
Родитель
36454936c0
Коммит
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);
|
void signal_fault(struct pt_regs *regs, void __user *frame, char *where);
|
||||||
#endif
|
#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)
|
static inline unsigned long regs_return_value(struct pt_regs *regs)
|
||||||
{
|
{
|
||||||
return regs->ax;
|
return regs->ax;
|
||||||
|
|
Загрузка…
Ссылка в новой задаче