From: Julian Seward Date: Fri, 7 Oct 2005 19:12:18 +0000 (+0000) Subject: ppc32-linux: handle sys_madvise. X-Git-Tag: svn/VALGRIND_3_1_0~340 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=614c6418c4cfe558557f48e6d562ead27cfb944b;p=thirdparty%2Fvalgrind.git ppc32-linux: handle sys_madvise. git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4892 --- diff --git a/coregrind/m_syswrap/syswrap-ppc32-linux.c b/coregrind/m_syswrap/syswrap-ppc32-linux.c index 89118af7e9..c8fe8636ca 100644 --- a/coregrind/m_syswrap/syswrap-ppc32-linux.c +++ b/coregrind/m_syswrap/syswrap-ppc32-linux.c @@ -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 diff --git a/coregrind/vki_unistd-ppc32-linux.h b/coregrind/vki_unistd-ppc32-linux.h index 0ee5a40a3f..fb91da8b9d 100644 --- a/coregrind/vki_unistd-ppc32-linux.h +++ b/coregrind/vki_unistd-ppc32-linux.h @@ -234,7 +234,7 @@ #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