diff options
author | Riku Voipio <riku.voipio@linaro.org> | 2016-02-15 15:38:40 +0200 |
---|---|---|
committer | Timothy Pearson <tpearson@raptorengineering.com> | 2019-11-29 19:45:58 -0600 |
commit | 5e18856f33d9c6999658cadfbd9adeafda6c6996 (patch) | |
tree | 4ab6c42483bb83250ecec485916796d539983f67 /linux-user/ppc | |
parent | 03289720ba80636721e5741b683aecb510bdef1f (diff) | |
download | hqemu-5e18856f33d9c6999658cadfbd9adeafda6c6996.zip hqemu-5e18856f33d9c6999658cadfbd9adeafda6c6996.tar.gz |
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>
Diffstat (limited to 'linux-user/ppc')
-rw-r--r-- | linux-user/ppc/syscall_nr.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/linux-user/ppc/syscall_nr.h b/linux-user/ppc/syscall_nr.h index 0a5fd54..46ed8a6 100644 --- a/linux-user/ppc/syscall_nr.h +++ b/linux-user/ppc/syscall_nr.h @@ -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 |