view sources/patches/strace-arm-no-cachectl.patch @ 900:266dc7ea04c2

If there's enough memory (half a gig per processor), use 1.5x as many CPUs to try to keep 'em busy.
author Rob Landley <rob@landley.net>
date Tue, 24 Nov 2009 03:19:07 -0600
parents bb8333b7a553
children
line wrap: on
line source

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>