xref: /openbmc/linux/arch/x86/um/shared/sysdep/ptrace.h (revision 63dc02bd)
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