From ba4d3df43c74613ca5381b9ecc4a7479b1de9c68 Mon Sep 17 00:00:00 2001 From: Tuan Ta Date: Sun, 17 Dec 2017 14:22:12 -0500 Subject: [PATCH] arch-riscv: Ignore set_robust_list and get_robust_list syscalls Change-Id: I5a4744e5aed07337144af9f07978b83405b6695b Reviewed-on: https://gem5-review.googlesource.com/6902 Reviewed-by: Alec Roelke Maintainer: Alec Roelke --- src/arch/riscv/linux/process.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/arch/riscv/linux/process.cc b/src/arch/riscv/linux/process.cc index 53dbbc289..4c10efe45 100644 --- a/src/arch/riscv/linux/process.cc +++ b/src/arch/riscv/linux/process.cc @@ -168,8 +168,8 @@ std::map RiscvLinuxProcess::syscallDescs = { {96, SyscallDesc("set_tid_address", setTidAddressFunc)}, {97, SyscallDesc("unshare")}, {98, SyscallDesc("futex", futexFunc)}, - {99, SyscallDesc("set_robust_list")}, - {100, SyscallDesc("get_robust_list")}, + {99, SyscallDesc("set_robust_list", ignoreFunc, SyscallDesc::WarnOnce)}, + {100, SyscallDesc("get_robust_list", ignoreFunc, SyscallDesc::WarnOnce)}, {101, SyscallDesc("nanosleep")}, {102, SyscallDesc("getitimer")}, {103, SyscallDesc("setitimer")}, -- 2.30.2