1234567891011121314151617181920212223242526272829303132333435 |
- From cb1a595e89837b342a8cfd1ace73537c9563fedb Mon Sep 17 00:00:00 2001
- From: Guillem Jover <guillem@hadrons.org>
- Date: Sun, 12 Apr 2020 03:39:47 +0200
- Subject: [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 <guillem@hadrons.org>
- ---
- src/syscall-arm.h | 10 +++++-----
- 1 file changed, 5 insertions(+), 5 deletions(-)
- 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)
- --
- 2.26.0.292.g33ef6b2f38
|