diff options
Diffstat (limited to 'arch/x86/um/shared/sysdep/ptrace.h')
-rw-r--r-- | arch/x86/um/shared/sysdep/ptrace.h | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/arch/x86/um/shared/sysdep/ptrace.h b/arch/x86/um/shared/sysdep/ptrace.h new file mode 100644 index 00000000..2bbe1ec2 --- /dev/null +++ b/arch/x86/um/shared/sysdep/ptrace.h @@ -0,0 +1,15 @@ +#ifndef __SYSDEP_X86_PTRACE_H +#define __SYSDEP_X86_PTRACE_H + +#ifdef __i386__ +#include "ptrace_32.h" +#else +#include "ptrace_64.h" +#endif + +static inline long regs_return_value(struct uml_pt_regs *regs) +{ + return UPT_SYSCALL_RET(regs); +} + +#endif /* __SYSDEP_X86_PTRACE_H */ |