]> git.ipfire.org Git - thirdparty/valgrind.git/commitdiff
merge from trunk:
authorDirk Mueller <daywalker@users.sourceforge.net>
Thu, 1 Dec 2005 10:03:58 +0000 (10:03 +0000)
committerDirk Mueller <daywalker@users.sourceforge.net>
Thu, 1 Dec 2005 10:03:58 +0000 (10:03 +0000)
r5256 | tom | 2005-12-01 10:21:37 +0100 (Thu, 01 Dec 2005) | 2 lines
Enable getpriority and setpriority on amd64. Fixes bug #117369.

git-svn-id: svn://svn.valgrind.org/valgrind/branches/VALGRIND_3_1_BRANCH@5260

coregrind/m_syswrap/syswrap-amd64-linux.c

index 7c3f46636a5e953fbfb75d98ba5ed9e074d83e88..5d879ad132c9bce8ea492c0ff7e4451e18279ca1 100644 (file)
@@ -1132,8 +1132,8 @@ const SyscallTableEntry ML_(syscall_table)[] = {
    GENXY(__NR_fstatfs,           sys_fstatfs),        // 138 
    //   (__NR_sysfs,             sys_sysfs),          // 139 
 
-   //   (__NR_getpriority,             sys_getpriority),             // 140 
-   //   (__NR_setpriority,             sys_setpriority),             // 141 
+   GENX_(__NR_getpriority,             sys_getpriority),             // 140 
+   GENX_(__NR_setpriority,             sys_setpriority),             // 141 
 //zz    LINXY(__NR_sched_setparam,          sys_sched_setparam),          // 142 
    LINXY(__NR_sched_getparam,          sys_sched_getparam),          // 143 
    LINX_(__NR_sched_setscheduler,      sys_sched_setscheduler),      // 144