summaryrefslogtreecommitdiffstats
path: root/package/strace/strace-arm-no-cachectl.patch
blob: 6a2c04d70c108a38e32d32aa4a5f27c8fdfef560 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
ARM defines SYS_cacheflush, but doesn't have <asm/cachectl.h>
---
 system.c |    2 ++
 1 file changed, 2 insertions(+)

Index: strace-4.5.18/system.c
===================================================================
--- strace-4.5.18.orig/system.c
+++ strace-4.5.18/system.c
@@ -70,9 +70,11 @@
 #include <linux/capability.h>
 #endif
 
+#ifndef ARM
 #ifdef SYS_cacheflush
 #include <asm/cachectl.h>
 #endif
+#endif
 
 #ifdef HAVE_LINUX_USTNAME_H
 #include <linux/utsname.h>