summaryrefslogtreecommitdiff
blob: 9aed43c554fd8be5bd391416356d8fc3401f1b69 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
http://bugs.gentoo.org/266014

ARM defines SYS_cacheflush but does not have asm/cachectl.h

--- a/system.c
+++ b/system.c
@@ -70,7 +70,7 @@
 #include <linux/capability.h>
 #endif
 
-#ifdef SYS_cacheflush
+#if defined(SYS_cacheflush) && !defined(ARM)
 #include <asm/cachectl.h>
 #endif