|
From: <sv...@va...> - 2010-10-11 19:10:01
|
Author: sewardj
Date: 2010-10-11 20:09:53 +0100 (Mon, 11 Oct 2010)
New Revision: 11428
Log:
Enable support for sys_ppoll on arm-linux (Rodrigo Belem, rod...@op...).
See #253636.
Modified:
trunk/coregrind/m_syswrap/syswrap-arm-linux.c
trunk/include/vki/vki-scnums-arm-linux.h
Modified: trunk/coregrind/m_syswrap/syswrap-arm-linux.c
===================================================================
--- trunk/coregrind/m_syswrap/syswrap-arm-linux.c 2010-10-11 18:55:24 UTC (rev 11427)
+++ trunk/coregrind/m_syswrap/syswrap-arm-linux.c 2010-10-11 19:09:53 UTC (rev 11428)
@@ -1632,7 +1632,6 @@
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 @@
// 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
Modified: trunk/include/vki/vki-scnums-arm-linux.h
===================================================================
--- trunk/include/vki/vki-scnums-arm-linux.h 2010-10-11 18:55:24 UTC (rev 11427)
+++ trunk/include/vki/vki-scnums-arm-linux.h 2010-10-11 19:09:53 UTC (rev 11428)
@@ -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
|