This reverts commit
519a199cbcc0930e229ddd7087309326a846bdce.
Multiple users have reported building failures on ARM architectures, e.g.:
In file included from defs.h:42:0,
from process.c:37:
process.c:51:22: error: 'struct user_regs' has no member named 'ARM_r0'
#define uoff(member) offsetof(struct user, member)
^
./linux/arm/userent.h:1:3: note: in expansion of macro 'uoff'
{ uoff(regs.ARM_r0), "r0" },
^
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
+++ /dev/null
---- a/ptrace.h
-+++ b/ptrace.h
-@@ -52,7 +52,10 @@ extern long ptrace(int, int, char *, long);
- # define ptrace_peeksiginfo_args XXX_ptrace_peeksiginfo_args
- #endif
-
-+#include <linux/types.h>
-+#define __ASSEMBLY__
- #include <linux/ptrace.h>
-+#undef __ASSEMBLY__
-
- #ifdef HAVE_STRUCT_IA64_FPREG
- # undef ia64_fpreg
---