aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/um/shared/sysdep/ptrace.h
diff options
context:
space:
mode:
Diffstat (limited to 'arch/x86/um/shared/sysdep/ptrace.h')
-rw-r--r--arch/x86/um/shared/sysdep/ptrace.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/x86/um/shared/sysdep/ptrace.h b/arch/x86/um/shared/sysdep/ptrace.h
index 711b162..5ef9344 100644
--- a/arch/x86/um/shared/sysdep/ptrace.h
+++ b/arch/x86/um/shared/sysdep/ptrace.h
@@ -3,3 +3,8 @@
#else
#include "ptrace_64.h"
#endif
+
+static inline long regs_return_value(struct uml_pt_regs *regs)
+{
+ return UPT_SYSCALL_RET(regs);
+}