From: Petar Jovanovic Date: Tue, 26 Nov 2019 13:19:45 +0000 (+0000) Subject: mips32: hook up getcpu syscall X-Git-Tag: VALGRIND_3_16_0~197 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=762e60391f270da306126b6e03fc7d6ef9a07dcc;p=thirdparty%2Fvalgrind.git mips32: hook up getcpu syscall Hook up getcpu syscall for mips32. This fixes getcpu01 failure in the LTP test suite. --- diff --git a/coregrind/m_syswrap/syswrap-mips32-linux.c b/coregrind/m_syswrap/syswrap-mips32-linux.c index bc3699f38e..597b5b9049 100644 --- a/coregrind/m_syswrap/syswrap-mips32-linux.c +++ b/coregrind/m_syswrap/syswrap-mips32-linux.c @@ -1069,6 +1069,7 @@ static SyscallTableEntry syscall_main_table[] = { LINX_ (__NR_set_robust_list, sys_set_robust_list), // 309 LINXY (__NR_get_robust_list, sys_get_robust_list), // 310 //.. + LINXY (__NR_getcpu, sys_getcpu), // 312 LINXY (__NR_epoll_pwait, sys_epoll_pwait), // 313 //.. LINX_ (__NR_utimensat, sys_utimensat), // 316