]> git.ipfire.org Git - thirdparty/valgrind.git/commitdiff
ppc32-linux: enable sys_{set,get}priority.
authorJulian Seward <jseward@acm.org>
Fri, 2 Dec 2005 16:45:28 +0000 (16:45 +0000)
committerJulian Seward <jseward@acm.org>
Fri, 2 Dec 2005 16:45:28 +0000 (16:45 +0000)
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@5270

coregrind/m_syswrap/syswrap-ppc32-linux.c
coregrind/vki_unistd-ppc32-linux.h

index 63ed323ed33e563bb3e6f107c789e7fed3c4e228..6d64b94ad570dde4af5d40abf1db581bf91551f2 100644 (file)
@@ -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
 //.. 
index 16fd143d29c91e07d3b1b61fe99a537bb9202478..3c2ecf42e6e3007604c68034c8511d504cd9cc9d 100644 (file)
 #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