Linus Torvalds | 90a4c0f | 2012-01-18 19:26:11 -0800 | [diff] [blame^] | 1 | #ifndef __SYSDEP_X86_PTRACE_H |
| 2 | #define __SYSDEP_X86_PTRACE_H |
| 3 | |
Al Viro | 858ba94 | 2011-08-18 20:03:09 +0100 | [diff] [blame] | 4 | #ifdef __i386__ |
| 5 | #include "ptrace_32.h" |
| 6 | #else |
| 7 | #include "ptrace_64.h" |
| 8 | #endif |
Eric Paris | d7e7528 | 2012-01-03 14:23:06 -0500 | [diff] [blame] | 9 | |
| 10 | static inline long regs_return_value(struct uml_pt_regs *regs) |
| 11 | { |
| 12 | return UPT_SYSCALL_RET(regs); |
| 13 | } |
Linus Torvalds | 90a4c0f | 2012-01-18 19:26:11 -0800 | [diff] [blame^] | 14 | |
| 15 | #endif /* __SYSDEP_X86_PTRACE_H */ |