mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-07-27 20:33:54 -06: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:
parent
13756fb008
commit
93a92d3bd6
6 changed files with 6 additions and 6 deletions
|
@ -278,7 +278,7 @@
|
|||
#define TARGET_NR_epoll_pwait 309
|
||||
#define TARGET_NR_utimensat 310
|
||||
#define TARGET_NR_signalfd 311
|
||||
#define TARGET_NR_timerfd 312
|
||||
#define TARGET_NR_timerfd_create 312
|
||||
#define TARGET_NR_eventfd 313
|
||||
#define TARGET_NR_fallocate 314
|
||||
#define TARGET_NR_timerfd_settime 315
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue