diff options
author | Alistair Francis <alistair.francis@wdc.com> | 2020-03-12 15:14:00 -0700 |
---|---|---|
committer | Laurent Vivier <laurent@vivier.eu> | 2020-03-20 16:01:59 +0100 |
commit | 50efc69586388a975c1ebd90cb8cc8e4a7328bc4 (patch) | |
tree | eadb3edb7d748577c4ce6fb4607190017ce0ede4 /linux-user/syscall.c | |
parent | c6c8d1026e7555097c1b01b2c701593f7b2c6602 (diff) | |
download | qemu-50efc69586388a975c1ebd90cb8cc8e4a7328bc4.zip qemu-50efc69586388a975c1ebd90cb8cc8e4a7328bc4.tar.gz qemu-50efc69586388a975c1ebd90cb8cc8e4a7328bc4.tar.bz2 |
linux-user/riscv: Update the syscall_nr's to the 5.5 kernel
Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
Reviewed-by: Laurent Vivier <laurent@vivier.eu>
Message-Id: <8e512fa2dc885aafc4d9c4013ee033442827a4a0.1584051142.git.alistair.francis@wdc.com>
[lv: guard sys_futex with TARGET_NR_exit]
Signed-off-by: Laurent Vivier <laurent@vivier.eu>
Diffstat (limited to 'linux-user/syscall.c')
-rw-r--r-- | linux-user/syscall.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/linux-user/syscall.c b/linux-user/syscall.c index be5f524..e55a477 100644 --- a/linux-user/syscall.c +++ b/linux-user/syscall.c @@ -295,7 +295,7 @@ _syscall1(int,exit_group,int,error_code) #if defined(TARGET_NR_set_tid_address) && defined(__NR_set_tid_address) _syscall1(int,set_tid_address,int *,tidptr) #endif -#if defined(TARGET_NR_futex) && defined(__NR_futex) +#if (defined(TARGET_NR_futex) || defined(TARGET_NR_exit)) && defined(__NR_futex) _syscall6(int,sys_futex,int *,uaddr,int,op,int,val, const struct timespec *,timeout,int *,uaddr2,int,val3) #endif |