]> git.ipfire.org Git - thirdparty/valgrind.git/commitdiff
mips32: hook up getcpu syscall
authorPetar Jovanovic <mips32r2@gmail.com>
Tue, 26 Nov 2019 13:19:45 +0000 (13:19 +0000)
committerPetar Jovanovic <mips32r2@gmail.com>
Tue, 26 Nov 2019 13:19:45 +0000 (13:19 +0000)
Hook up getcpu syscall for mips32.

This fixes getcpu01 failure in the LTP test suite.

coregrind/m_syswrap/syswrap-mips32-linux.c

index bc3699f38e231102888304ab01d70dfd8fd001a8..597b5b9049d648f5250b054fc6aa5de4d87bf613 100644 (file)
@@ -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