xref: /linux/arch/x86/um/shared/sysdep/ptrace.h (revision ea51e5040e24eefe44d70bc654a237ca1f0225b0)
1 #ifndef __SYSDEP_X86_PTRACE_H
2 #define __SYSDEP_X86_PTRACE_H
3 
4 #ifdef __i386__
5 #include "ptrace_32.h"
6 #else
7 #include "ptrace_64.h"
8 #endif
9 
10 static inline long regs_return_value(struct uml_pt_regs *regs)
11 {
12 	return UPT_SYSCALL_RET(regs);
13 }
14 
15 #endif /* __SYSDEP_X86_PTRACE_H */
16