Skip to contentSkip to conversation

linux-user/arm/syscall_nr.h: Add syscall number for ppoll

PATCH New Peter Maydell 1 participant 1 message Mar 16, 2012

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 linux-user/arm/syscall_nr.h: Add syscall number for ppoll

The list of ARM syscall numbers was missing the entry for ppoll, which meant we were accidentally not providing it. (This wasn't causing any practical issues beyond warnings about unimplemented syscalls, because glibc will fall back to another code path if the syscall isn't present.)

---
 linux-user/arm/syscall_nr.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
linux-user/arm/syscall_nr.h +1 -1
index 7f05879..5356395 100644
@@ -339,7 +339,7 @@
 #define TARGET_NR_fchmodat			(333)
 #define TARGET_NR_faccessat			(334)
 #define TARGET_NR_pselect6			(335)
-					/* 336 for ppoll */
+#define TARGET_NR_ppoll                         (336)
 #define TARGET_NR_unshare			(337)
 #define TARGET_NR_set_robust_list		(338)
 #define TARGET_NR_get_robust_list		(339)
Signature · 1 line
1.7.1