[PATCH libaio 01/11] syscall: Fix ARM definitions to match exactly the kernel
authorGuillem Jover <guillem@hadrons.org>
Sun, 12 Apr 2020 01:39:47 +0000 (03:39 +0200)
committerPeter Michael Green <plugwash@raspbian.org>
Mon, 15 Nov 2021 00:13:31 +0000 (00:13 +0000)
Otherwise we get preprocessor warnings due to the redefinitions.

Signed-off-by: Guillem Jover <guillem@hadrons.org>
Gbp-Pq: Name 0001-syscall-Fix-ARM-definitions-to-match-exactly-the-ker.patch

src/syscall-arm.h

index 556852bbbf369acaa4e231cedd38527887c07770..315a37be4e8ebf39be870e09dddc93b75d7c9fdb 100644 (file)
@@ -19,8 +19,8 @@
 #define __NR_SYSCALL_BASE      __NR_OABI_SYSCALL_BASE
 #endif
 
-#define __NR_io_setup                  (__NR_SYSCALL_BASE+243)
-#define __NR_io_destroy                        (__NR_SYSCALL_BASE+244)
-#define __NR_io_getevents              (__NR_SYSCALL_BASE+245)
-#define __NR_io_submit                 (__NR_SYSCALL_BASE+246)
-#define __NR_io_cancel                 (__NR_SYSCALL_BASE+247)
+#define __NR_io_setup          (__NR_SYSCALL_BASE + 243)
+#define __NR_io_destroy                (__NR_SYSCALL_BASE + 244)
+#define __NR_io_getevents      (__NR_SYSCALL_BASE + 245)
+#define __NR_io_submit         (__NR_SYSCALL_BASE + 246)
+#define __NR_io_cancel         (__NR_SYSCALL_BASE + 247)