summaryrefslogtreecommitdiff
path: root/include/asm-x86/ptrace.h
diff options
context:
space:
mode:
authorJaswinder Singh <jaswinder@infradead.org>2008-07-21 22:35:38 +0530
committerIngo Molnar <mingo@elte.hu>2008-07-22 14:36:07 +0200
commitc1686aeaf0780055ffcd4b224b73d5ada77630e8 (patch)
tree6fa91e41cce2eadd2ad14cdf20ce830059b7e965 /include/asm-x86/ptrace.h
parent36454936c00c700ae86b5ff376d3c1c1a862c4f5 (diff)
downloadlwn-c1686aeaf0780055ffcd4b224b73d5ada77630e8.tar.gz
lwn-c1686aeaf0780055ffcd4b224b73d5ada77630e8.zip
x86: ptrace.c declare functions before they get used
Signed-off-by: Jaswinder Singh <jaswinder@infradead.org>
Diffstat (limited to 'include/asm-x86/ptrace.h')
-rw-r--r--include/asm-x86/ptrace.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/asm-x86/ptrace.h b/include/asm-x86/ptrace.h
index 8a71db803da6..48c1d5a890de 100644
--- a/include/asm-x86/ptrace.h
+++ b/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);
#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;