OSDN Git Service

linux-user: Enable epoll_pwait syscall for ARM
authorPeter Maydell <peter.maydell@linaro.org>
Fri, 19 Sep 2014 01:35:20 +0000 (02:35 +0100)
committerRiku Voipio <riku.voipio@linaro.org>
Mon, 6 Oct 2014 18:52:45 +0000 (21:52 +0300)
We have support for the epoll_pwait syscall, but it wasn't enabled for
ARM guests because we hadn't defined the syscall number; correct this
deficiency.

Reported-by: Dave Flogeras <dflogeras2@gmail.com>
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Riku Voipio <riku.voipio@linaro.org>
linux-user/arm/syscall_nr.h

index bef847c..7d7be7c 100644 (file)
 #define TARGET_NR_vmsplice                     (343)
 #define TARGET_NR_move_pages                   (344)
 #define TARGET_NR_getcpu                       (345)
-                                       /* 346 for epoll_pwait */
+#define TARGET_NR_epoll_pwait                   (346)
 #define TARGET_NR_kexec_load                   (347)
 #define TARGET_NR_utimensat                    (348)
 #define TARGET_NR_signalfd                     (349)