]> git.proxmox.com Git - mirror_qemu.git/commit
linux-user: correct timerfd_create syscall numbers
authorRiku Voipio <riku.voipio@linaro.org>
Mon, 15 Feb 2016 13:38:40 +0000 (15:38 +0200)
committerRiku Voipio <riku.voipio@linaro.org>
Tue, 23 Feb 2016 19:25:10 +0000 (21:25 +0200)
commit93a92d3bd649cd315db47b9fb5dcb6af657cc22c
tree25d4eb8348939c6aa6b30b0ca630be014be1f256
parent13756fb008728e0c316d6b183c8740e030b1ad74
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>
linux-user/i386/syscall_nr.h
linux-user/m68k/syscall_nr.h
linux-user/ppc/syscall_nr.h
linux-user/sh4/syscall_nr.h
linux-user/sparc/syscall_nr.h
linux-user/x86_64/syscall_nr.h