]> git.ipfire.org Git - thirdparty/valgrind.git/commitdiff
mips32: hook up sched_rr_get_interval syscall
authorPetar Jovanovic <mips32r2@gmail.com>
Wed, 14 Aug 2019 15:43:10 +0000 (15:43 +0000)
committerPetar Jovanovic <mips32r2@gmail.com>
Wed, 14 Aug 2019 15:43:10 +0000 (15:43 +0000)
Hook up sched_rr_get_interval syscall for mips32.

This fixes sched_rr_get_interval01 and several other tests in the LTP test
suite.

coregrind/m_syswrap/syswrap-mips32-linux.c

index c745550251d0643f0b79a98b614f6bc50de1dacb..f32e02d5932446a0a2fdfe7654a165ac3d3a86b3 100644 (file)
@@ -927,7 +927,7 @@ static SyscallTableEntry syscall_main_table[] = {
    LINX_ (__NR_sched_yield,            sys_sched_yield),             // 162
    LINX_ (__NR_sched_get_priority_max, sys_sched_get_priority_max),  // 163
    LINX_ (__NR_sched_get_priority_min, sys_sched_get_priority_min),  // 164
-   //.. //LINX?(__NR_sched_rr_get_interval,  sys_sched_rr_get_interval), // 165
+   LINXY (__NR_sched_rr_get_interval,  sys_sched_rr_get_interval),   // 165
    GENXY (__NR_nanosleep,              sys_nanosleep),               // 166
    GENX_ (__NR_mremap,                 sys_mremap),                  // 167
    LINXY (__NR_accept,                 sys_accept),                  // 168