From: Julian Seward Date: Mon, 11 Oct 2010 19:09:53 +0000 (+0000) Subject: Enable support for sys_ppoll on arm-linux (Rodrigo Belem, rodrigo.belem@openbossa... X-Git-Tag: svn/VALGRIND_3_6_0~29 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1a7379bf89a0d1c9534fe11a618522b7eb3b5271;p=thirdparty%2Fvalgrind.git Enable support for sys_ppoll on arm-linux (Rodrigo Belem, rodrigo.belem@openbossa.org). See #253636. git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11428 --- diff --git a/coregrind/m_syswrap/syswrap-arm-linux.c b/coregrind/m_syswrap/syswrap-arm-linux.c index 3d1f3b514b..fb12728838 100644 --- a/coregrind/m_syswrap/syswrap-arm-linux.c +++ b/coregrind/m_syswrap/syswrap-arm-linux.c @@ -1632,7 +1632,6 @@ static SyscallTableEntry syscall_main_table[] = { PLAX_(__NR_shmget, sys_shmget), //307 PLAXY(__NR_shmctl, sys_shmctl), // 308 // LINX_(__NR_pselect6, sys_pselect6), // -// LINXY(__NR_ppoll, sys_ppoll), // 309 // LINX_(__NR_unshare, sys_unshare), // 310 LINX_(__NR_set_robust_list, sys_set_robust_list), // 311 @@ -1663,7 +1662,8 @@ static SyscallTableEntry syscall_main_table[] = { // correspond to what's in include/vki/vki-scnums-arm-linux.h. // From here onwards, please ensure the numbers are correct. - LINX_(__NR_pselect6, sys_pselect6), // 335 + LINX_(__NR_pselect6, sys_pselect6), // 335 + LINXY(__NR_ppoll, sys_ppoll), // 336 LINXY(__NR_signalfd4, sys_signalfd4), // 355 LINX_(__NR_eventfd2, sys_eventfd2), // 356 diff --git a/include/vki/vki-scnums-arm-linux.h b/include/vki/vki-scnums-arm-linux.h index 24f28054bc..630089700d 100644 --- a/include/vki/vki-scnums-arm-linux.h +++ b/include/vki/vki-scnums-arm-linux.h @@ -371,7 +371,7 @@ #define __NR_fchmodat 333 #define __NR_faccessat 334 #define __NR_pselect6 335 /* JRS 20100812: is this correct? */ - /* 336 for ppoll */ +#define __NR_ppoll 336 #define __NR_unshare 337 #define __NR_set_robust_list 338 #define __NR_get_robust_list 339