]> git.ipfire.org Git - thirdparty/valgrind.git/commitdiff
ppc32-linux: handle sys_madvise.
authorJulian Seward <jseward@acm.org>
Fri, 7 Oct 2005 19:12:18 +0000 (19:12 +0000)
committerJulian Seward <jseward@acm.org>
Fri, 7 Oct 2005 19:12:18 +0000 (19:12 +0000)
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4892

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

index 89118af7e973e4e6ca0fddd5988d75d0fc2f8f3a..c8fe8636ca418d432ff0996224f4b3199b655964 100644 (file)
@@ -1905,7 +1905,7 @@ const SyscallTableEntry ML_(syscall_table)[] = {
    GENXY(__NR_getdents64,        sys_getdents64),        // 202
 //..    //   (__NR_pivot_root,        sys_pivot_root),        // 203 */Linux
    GENXY(__NR_fcntl64,           sys_fcntl64),           // 204
-//..    GENX_(__NR_madvise,           sys_madvise),           // 205
+   GENX_(__NR_madvise,           sys_madvise),           // 205
 //..    GENXY(__NR_mincore,           sys_mincore),           // 206
    LINX_(__NR_gettid,            sys_gettid),            // 207
 //..    LINX_(__NR_tkill,             sys_tkill),             // 208 */Linux
index 0ee5a40a3ff4a0940b1f166b90547fbe87b2af0d..fb91da8b9d9c4a3800c196d6811a5162225a5698 100644 (file)
 #define __NR_getdents64                        202
 //#define __NR_pivot_root              203
 #define __NR_fcntl64                   204
-//#define __NR_madvise                 205
+#define __NR_madvise                   205
 //#define __NR_mincore                 206
 #define __NR_gettid                    207
 #define __NR_tkill                     208