From 2a54eefde2a72087325be7eb3e2fa03e1a6bccce Mon Sep 17 00:00:00 2001 From: Mark Wielaard Date: Mon, 10 Mar 2014 14:45:32 +0000 Subject: [PATCH] Enable sys_getpriority and sys_setpriority for ppc64. Bug 331830 - ppc64: WARNING: unhandled syscall: 96/97 (Miroslav Franc, mfranc@redhat.com) git-svn-id: svn://svn.valgrind.org/valgrind/trunk@13861 --- NEWS | 1 + coregrind/m_syswrap/syswrap-ppc64-linux.c | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/NEWS b/NEWS index b87b24e6e..4da1de7cf 100644 --- a/NEWS +++ b/NEWS @@ -63,6 +63,7 @@ where XXXXXX is the bug number as listed below. 331305 configure uses bash specific syntax 331337 s390x WARNING: unhandled syscall: 326 (dup3) 331380 Syscall param timer_create(evp) points to uninitialised byte(s) +331830 ppc64: WARNING: unhandled syscall: 96/97 n-i-bz Fix KVM_CREATE_IRQCHIP ioctl handling n-i-bz s390x: Fix memory corruption for multithreaded applications diff --git a/coregrind/m_syswrap/syswrap-ppc64-linux.c b/coregrind/m_syswrap/syswrap-ppc64-linux.c index 86c67d4be..4673dda6c 100644 --- a/coregrind/m_syswrap/syswrap-ppc64-linux.c +++ b/coregrind/m_syswrap/syswrap-ppc64-linux.c @@ -792,8 +792,8 @@ static SyscallTableEntry syscall_table[] = { GENX_(__NR_fchmod, sys_fchmod), // 94 GENX_(__NR_fchown, sys_fchown), // 95 -// _____(__NR_getpriority, sys_getpriority), // 96 -// _____(__NR_setpriority, sys_setpriority), // 97 + GENX_(__NR_getpriority, sys_getpriority), // 96 + GENX_(__NR_setpriority, sys_setpriority), // 97 // _____(__NR_profil, sys_profil), // 98 GENXY(__NR_statfs, sys_statfs), // 99