diff options
author | Gabe Black <gabeblack@google.com> | 2019-11-22 16:00:51 -0800 |
---|---|---|
committer | Gabe Black <gabeblack@google.com> | 2019-12-10 23:58:14 +0000 |
commit | d81ea82a23a1f8fe3f7ef2f76b4cf7ee73fed0bf (patch) | |
tree | d0f7d2be36091a5a5fac1d0ad03e124f345affe2 /src/arch/x86/linux | |
parent | 771af751a2f96269dd66f6ec1792364705cf8329 (diff) | |
download | gem5-d81ea82a23a1f8fe3f7ef2f76b4cf7ee73fed0bf.tar.xz |
arch: Use ignoreWarnOnceFunc instead of the WarnOnce flag.
Jira Issue: https://gem5.atlassian.net/browse/GEM5-187
Change-Id: I9bbffcc74ec4f3df4effa5c50f0a4a688c5b6016
Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/23169
Tested-by: kokoro <noreply+kokoro@google.com>
Reviewed-by: Giacomo Travaglini <giacomo.travaglini@arm.com>
Reviewed-by: Gabe Black <gabeblack@google.com>
Maintainer: Gabe Black <gabeblack@google.com>
Diffstat (limited to 'src/arch/x86/linux')
-rw-r--r-- | src/arch/x86/linux/process.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/arch/x86/linux/process.cc b/src/arch/x86/linux/process.cc index dfb1c42f8..6befafde4 100644 --- a/src/arch/x86/linux/process.cc +++ b/src/arch/x86/linux/process.cc @@ -271,8 +271,8 @@ static SyscallDesc syscallDescs64[] = { /* 10 */ SyscallDesc("mprotect", ignoreFunc), /* 11 */ SyscallDesc("munmap", munmapFunc), /* 12 */ SyscallDesc("brk", brkFunc), - /* 13 */ SyscallDesc("rt_sigaction", ignoreFunc, SyscallDesc::WarnOnce), - /* 14 */ SyscallDesc("rt_sigprocmask", ignoreFunc, SyscallDesc::WarnOnce), + /* 13 */ SyscallDesc("rt_sigaction", ignoreWarnOnceFunc), + /* 14 */ SyscallDesc("rt_sigprocmask", ignoreWarnOnceFunc), /* 15 */ SyscallDesc("rt_sigreturn", unimplementedFunc), /* 16 */ SyscallDesc("ioctl", ioctlFunc<X86Linux64>), /* 17 */ SyscallDesc("pread64", unimplementedFunc), @@ -293,7 +293,7 @@ static SyscallDesc syscallDescs64[] = { /* 32 */ SyscallDesc("dup", dupFunc), /* 33 */ SyscallDesc("dup2", dup2Func), /* 34 */ SyscallDesc("pause", unimplementedFunc), - /* 35 */ SyscallDesc("nanosleep", ignoreFunc, SyscallDesc::WarnOnce), + /* 35 */ SyscallDesc("nanosleep", ignoreWarnOnceFunc), /* 36 */ SyscallDesc("getitimer", unimplementedFunc), /* 37 */ SyscallDesc("alarm", unimplementedFunc), /* 38 */ SyscallDesc("setitimer", unimplementedFunc), |