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

--- a/system.c
+++ b/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>