In commit: 4aa1a8aefc3dc3875621c64cef0087968e57181d ("Delete src/syscall.c and get back to use __sys_io_uring* functions") I forgot to rename `____sys_io_uring*` to `__sys_io_uring*` in arch/generic. This results in build error on archs other than aarch64 and x86-64: error: implicit declaration of function `__sys_io_uring*`; Rename `____sys_io_uring*` to `__sys_io_uring*`. Thanks to the GitHub bot who spotted the issue quickly! Fixes: 4aa1a8aefc3dc3875621c64cef0087968e57181d ("Delete src/syscall.c and get back to use __sys_io_uring* functions") Signed-off-by: Ammar Faizi <ammarfaizi2@xxxxxxxxxxx> --- src/arch/generic/syscall.h | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/src/arch/generic/syscall.h b/src/arch/generic/syscall.h index e637890..5a172e1 100644 --- a/src/arch/generic/syscall.h +++ b/src/arch/generic/syscall.h @@ -5,25 +5,25 @@ #include <fcntl.h> -static inline int ____sys_io_uring_register(int fd, unsigned opcode, - const void *arg, unsigned nr_args) +static inline int __sys_io_uring_register(int fd, unsigned opcode, + const void *arg, unsigned nr_args) { int ret; ret = syscall(__NR_io_uring_register, fd, opcode, arg, nr_args); return (ret < 0) ? -errno : ret; } -static inline int ____sys_io_uring_setup(unsigned entries, - struct io_uring_params *p) +static inline int __sys_io_uring_setup(unsigned entries, + struct io_uring_params *p) { int ret; ret = syscall(__NR_io_uring_setup, entries, p); return (ret < 0) ? -errno : ret; } -static inline int ____sys_io_uring_enter2(int fd, unsigned to_submit, - unsigned min_complete, unsigned flags, - sigset_t *sig, int sz) +static inline int __sys_io_uring_enter2(int fd, unsigned to_submit, + unsigned min_complete, unsigned flags, + sigset_t *sig, int sz) { int ret; ret = syscall(__NR_io_uring_enter, fd, to_submit, min_complete, flags, @@ -31,12 +31,12 @@ static inline int ____sys_io_uring_enter2(int fd, unsigned to_submit, return (ret < 0) ? -errno : ret; } -static inline int ____sys_io_uring_enter(int fd, unsigned to_submit, - unsigned min_complete, unsigned flags, - sigset_t *sig) +static inline int __sys_io_uring_enter(int fd, unsigned to_submit, + unsigned min_complete, unsigned flags, + sigset_t *sig) { - return ____sys_io_uring_enter2(fd, to_submit, min_complete, flags, sig, - _NSIG / 8); + return __sys_io_uring_enter2(fd, to_submit, min_complete, flags, sig, + _NSIG / 8); } static inline int __sys_open(const char *pathname, int flags, mode_t mode) -- 2.34.1