mirror of
https://github.com/hanwckf/immortalwrt-mt798x.git
synced 2025-01-09 02:43:53 +08:00
Revert "devel/strace: fix build on mpc85xx target"
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>
This commit is contained in:
parent
36cccbb283
commit
6649a172f2
@ -1,14 +0,0 @@
|
||||
--- 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
|
||||
--
|
Loading…
x
Reference in New Issue
Block a user