0001-syscall-Fix-ARM-definitions-to-match-exactly-the-ker.patch 1.2 KB

1234567891011121314151617181920212223242526272829303132333435
  1. From cb1a595e89837b342a8cfd1ace73537c9563fedb Mon Sep 17 00:00:00 2001
  2. From: Guillem Jover <guillem@hadrons.org>
  3. Date: Sun, 12 Apr 2020 03:39:47 +0200
  4. Subject: [PATCH libaio 01/11] syscall: Fix ARM definitions to match exactly
  5. the kernel
  6. Otherwise we get preprocessor warnings due to the redefinitions.
  7. Signed-off-by: Guillem Jover <guillem@hadrons.org>
  8. ---
  9. src/syscall-arm.h | 10 +++++-----
  10. 1 file changed, 5 insertions(+), 5 deletions(-)
  11. diff --git a/src/syscall-arm.h b/src/syscall-arm.h
  12. index 556852b..315a37b 100644
  13. --- a/src/syscall-arm.h
  14. +++ b/src/syscall-arm.h
  15. @@ -19,8 +19,8 @@
  16. #define __NR_SYSCALL_BASE __NR_OABI_SYSCALL_BASE
  17. #endif
  18. -#define __NR_io_setup (__NR_SYSCALL_BASE+243)
  19. -#define __NR_io_destroy (__NR_SYSCALL_BASE+244)
  20. -#define __NR_io_getevents (__NR_SYSCALL_BASE+245)
  21. -#define __NR_io_submit (__NR_SYSCALL_BASE+246)
  22. -#define __NR_io_cancel (__NR_SYSCALL_BASE+247)
  23. +#define __NR_io_setup (__NR_SYSCALL_BASE + 243)
  24. +#define __NR_io_destroy (__NR_SYSCALL_BASE + 244)
  25. +#define __NR_io_getevents (__NR_SYSCALL_BASE + 245)
  26. +#define __NR_io_submit (__NR_SYSCALL_BASE + 246)
  27. +#define __NR_io_cancel (__NR_SYSCALL_BASE + 247)
  28. --
  29. 2.26.0.292.g33ef6b2f38