mirror of
https://github.com/mii443/qemu.git
synced 2025-09-01 14:49:23 +00:00
linux-user: correct timerfd_create syscall numbers
x86, m68k, ppc, sh4 and sparc failed to enable timerfd, because they didn't have timerfd_create system call defined. Instead QEMU defined timerfd syscall. Checking with kernel sources, it appears kernel developers reused timerfd syscall number with timerfd_create, presumably since no userspace called the old syscall number. Reported-by: Laurent Vivier <laurent@vivier.eu> Reviewed-by: Laurent Vivier <laurent@vivier.eu> Signed-off-by: Riku Voipio <riku.voipio@linaro.org>
This commit is contained in:
@ -319,7 +319,7 @@
|
||||
#define TARGET_NR_epoll_pwait 303
|
||||
#define TARGET_NR_utimensat 304
|
||||
#define TARGET_NR_signalfd 305
|
||||
#define TARGET_NR_timerfd 306
|
||||
#define TARGET_NR_timerfd_create 306
|
||||
#define TARGET_NR_eventfd 307
|
||||
#define TARGET_NR_sync_file_range2 308
|
||||
#define TARGET_NR_fallocate 309
|
||||
|
Reference in New Issue
Block a user