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