lede/package/devel/strace/patches/100-workaround--pt-reg-collisions-ppc.patch

18 lines
312 B
Diff
Raw Normal View History

2017-09-06 11:19:45 +00:00
--- a/ptrace.h
+++ b/ptrace.h
2018-09-07 05:43:55 +00:00
@@ -49,7 +49,14 @@
2017-09-06 11:19:45 +00:00
# define ptrace_peeksiginfo_args XXX_ptrace_peeksiginfo_args
#endif
+#if POWERPC
+#include <linux/types.h>
+#define __ASSEMBLY__
+#endif
#include <linux/ptrace.h>
+#if POWERPC
+#undef __ASSEMBLY__
+#endif
#ifdef HAVE_STRUCT_IA64_FPREG
# undef ia64_fpreg