From: Julian Seward Date: Tue, 27 Dec 2005 14:06:03 +0000 (+0000) Subject: Merge r5270 (fix for: ppc32: __NR_{set,get}priority) X-Git-Tag: svn/VALGRIND_3_1_1~44 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=45e6d1d2c3a2d8d3ebfb311a5d2c7df3f8f291dc;p=thirdparty%2Fvalgrind.git Merge r5270 (fix for: ppc32: __NR_{set,get}priority) git-svn-id: svn://svn.valgrind.org/valgrind/branches/VALGRIND_3_1_BRANCH@5447 --- diff --git a/coregrind/m_syswrap/syswrap-ppc32-linux.c b/coregrind/m_syswrap/syswrap-ppc32-linux.c index 1190cad637..6d98cdd31e 100644 --- a/coregrind/m_syswrap/syswrap-ppc32-linux.c +++ b/coregrind/m_syswrap/syswrap-ppc32-linux.c @@ -1560,8 +1560,8 @@ const SyscallTableEntry ML_(syscall_table)[] = { GENX_(__NR_fchmod, sys_fchmod), // 94 LINX_(__NR_fchown, sys_fchown16), // 95 -//.. GENX_(__NR_getpriority, sys_getpriority), // 96 -//.. GENX_(__NR_setpriority, sys_setpriority), // 97 + GENX_(__NR_getpriority, sys_getpriority), // 96 + GENX_(__NR_setpriority, sys_setpriority), // 97 //.. GENX_(__NR_profil, sys_ni_syscall), // 98 //.. GENXY(__NR_statfs, sys_statfs), // 99 //.. diff --git a/coregrind/vki_unistd-ppc32-linux.h b/coregrind/vki_unistd-ppc32-linux.h index 0793923d5e..aa32dbf898 100644 --- a/coregrind/vki_unistd-ppc32-linux.h +++ b/coregrind/vki_unistd-ppc32-linux.h @@ -125,8 +125,8 @@ #define __NR_ftruncate 93 #define __NR_fchmod 94 #define __NR_fchown 95 -//#define __NR_getpriority 96 -//#define __NR_setpriority 97 +#define __NR_getpriority 96 +#define __NR_setpriority 97 //#define __NR_profil 98 //#define __NR_statfs 99 //#define __NR_fstatfs 100