From: Guillem Jover Date: Sun, 12 Apr 2020 01:39:47 +0000 (+0200) Subject: [PATCH libaio 01/11] syscall: Fix ARM definitions to match exactly the kernel X-Git-Tag: archive/raspbian/0.3.112-13+rpi1~1^2^2~12 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=9a20b95cae37ca59cbce178b5581f894bf1d21f0;p=libaio.git [PATCH libaio 01/11] syscall: Fix ARM definitions to match exactly the kernel Otherwise we get preprocessor warnings due to the redefinitions. Signed-off-by: Guillem Jover Gbp-Pq: Name 0001-syscall-Fix-ARM-definitions-to-match-exactly-the-ker.patch --- diff --git a/src/syscall-arm.h b/src/syscall-arm.h index 556852b..315a37b 100644 --- a/src/syscall-arm.h +++ b/src/syscall-arm.h @@ -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)