strace-arm-no-cachectl.patch 348 B

12345678910111213141516171819
  1. ARM defines SYS_cacheflush, but doesn't have <asm/cachectl.h>
  2. ---
  3. system.c | 2 ++
  4. 1 file changed, 2 insertions(+)
  5. --- a/system.c
  6. +++ b/system.c
  7. @@ -70,9 +70,11 @@
  8. #include <linux/capability.h>
  9. #endif
  10. +#ifndef ARM
  11. #ifdef SYS_cacheflush
  12. #include <asm/cachectl.h>
  13. #endif
  14. +#endif
  15. #ifdef HAVE_LINUX_USTNAME_H
  16. #include <linux/utsname.h>