linux-user: fix eventfd
commit562a20b4ef63bdde6e2e5bac0da02302aeb5299f
authorLaurent Vivier <laurent@vivier.eu>
Wed, 1 Mar 2017 09:37:48 +0000 (1 10:37 +0100)
committerRiku Voipio <riku.voipio@linaro.org>
Mon, 29 May 2017 11:56:07 +0000 (29 14:56 +0300)
tree1b7a146d5a815554ce689ab626133c41f4f62ec5
parent04b9bcf911af2b4563b1f1b2e8a103b796dcc9eb
linux-user: fix eventfd

When a fd is opened using eventfd(), a read provides
a 64bit counter in the host byte order, and a
write increase the internal counter by the provided
64bit value.

Signed-off-by: Laurent Vivier <laurent@vivier.eu>
Signed-off-by: Riku Voipio <riku.voipio@linaro.org>
linux-user/syscall.c