Mark Wielaard 00ada4
commit 9a51385e9d032e9f66076ce2c0f1343e4caeec21
Mark Wielaard 00ada4
Author: mjw <mjw@a5019735-40e9-0310-863c-91ae7b9d1cf9>
Mark Wielaard 00ada4
Date:   Mon May 30 20:16:04 2016 +0000
Mark Wielaard 00ada4
Mark Wielaard 00ada4
    Bug 363714 ppc64 missing syscalls sync, waitid and name_to/open_by_handle_at
Mark Wielaard 00ada4
    
Mark Wielaard 00ada4
    git-svn-id: svn://svn.valgrind.org/valgrind/trunk@15888 a5019735-40e9-0310-863c-91ae7b9d1cf9
Mark Wielaard 00ada4
Mark Wielaard 00ada4
diff --git a/coregrind/m_syswrap/syswrap-ppc64-linux.c b/coregrind/m_syswrap/syswrap-ppc64-linux.c
Mark Wielaard 00ada4
index 6d5713b..2a027f0 100644
Mark Wielaard 00ada4
--- a/coregrind/m_syswrap/syswrap-ppc64-linux.c
Mark Wielaard 00ada4
+++ b/coregrind/m_syswrap/syswrap-ppc64-linux.c
Mark Wielaard 00ada4
@@ -821,7 +821,7 @@ static SyscallTableEntry syscall_table[] = {
Mark Wielaard 00ada4
 // _____(__NR_nice,              sys_nice),               //  34
Mark Wielaard 00ada4
 
Mark Wielaard 00ada4
 // _____(__NR_ftime,             sys_ftime),              //  35
Mark Wielaard 00ada4
-// _____(__NR_sync,              sys_sync),               //  36
Mark Wielaard 00ada4
+   GENX_(__NR_sync,              sys_sync),               //  36
Mark Wielaard 00ada4
    GENX_(__NR_kill,              sys_kill),               //  37
Mark Wielaard 00ada4
    GENX_(__NR_rename,            sys_rename),             //  38
Mark Wielaard 00ada4
    GENX_(__NR_mkdir,             sys_mkdir),              //  39
Mark Wielaard 00ada4
@@ -1102,7 +1102,7 @@ static SyscallTableEntry syscall_table[] = {
Mark Wielaard 00ada4
 
Mark Wielaard 00ada4
    LINX_(__NR_request_key,       sys_request_key),        // 270
Mark Wielaard 00ada4
    LINXY(__NR_keyctl,            sys_keyctl),             // 271
Mark Wielaard 00ada4
-// _____(__NR_waitid,            sys_waitid),             // 272
Mark Wielaard 00ada4
+   LINXY(__NR_waitid,            sys_waitid),             // 272
Mark Wielaard 00ada4
    LINX_(__NR_ioprio_set,        sys_ioprio_set),         // 273
Mark Wielaard 00ada4
    LINX_(__NR_ioprio_get,        sys_ioprio_get),         // 274
Mark Wielaard 00ada4
 
Mark Wielaard 00ada4
@@ -1170,7 +1170,8 @@ static SyscallTableEntry syscall_table[] = {
Mark Wielaard 00ada4
    LINXY(__NR_recvmsg,           sys_recvmsg),          // 342
Mark Wielaard 00ada4
    LINXY(__NR_recvmmsg,          sys_recvmmsg),         // 343
Mark Wielaard 00ada4
    LINXY(__NR_accept4,           sys_accept4),          // 344
Mark Wielaard 00ada4
-
Mark Wielaard 00ada4
+   LINXY(__NR_name_to_handle_at, sys_name_to_handle_at),// 345
Mark Wielaard 00ada4
+   LINXY(__NR_open_by_handle_at, sys_open_by_handle_at),// 346
Mark Wielaard 00ada4
    LINXY(__NR_clock_adjtime,     sys_clock_adjtime),    // 347
Mark Wielaard 00ada4
    LINX_(__NR_syncfs,            sys_syncfs),           // 348
Mark Wielaard 00ada4
    LINXY(__NR_sendmmsg,          sys_sendmmsg),         // 349