浏览代码

x86: ptrace.c declare functions before they get used

Signed-off-by: Jaswinder Singh <jaswinder@infradead.org>
Jaswinder Singh 17 年之前
父节点
当前提交
c1686aeaf0
共有 1 个文件被更改,包括 3 次插入0 次删除
  1. 3 0
      include/asm-x86/ptrace.h

+ 3 - 0
include/asm-x86/ptrace.h

@@ -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;