diff options
author | Laurent Vivier <laurent@vivier.eu> | 2015-10-03 17:14:06 +0200 |
---|---|---|
committer | Riku Voipio <riku.voipio@linaro.org> | 2016-01-08 11:36:12 +0200 |
commit | 928bed6a057cedd6110e634865e021a24029785a (patch) | |
tree | 1d8993d71396c6af0146a97c5cd98e10ad37ce5a /hw/xtensa | |
parent | e36800c91a74b656b4b4c74483863950cf9ec202 (diff) |
linux-user: correctly align target_epoll_event
According to comments in /usr/include/linux/eventpoll.h,
poll_event is packed only on x86_64.
And to be sure fields are correctly aligned in epoll_data,
use abi_XXX types for all of them.
Moreover, fd type is wrong: fd is int, not ulong.
This has been tested with a ppc guest on an x86_64 host:
without this patch, systemd crashes (core).
CC: Alexander Graf <agraf@suse.de>
CC: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Laurent Vivier <laurent@vivier.eu>
Signed-off-by: Riku Voipio <riku.voipio@linaro.org>
Diffstat (limited to 'hw/xtensa')
0 files changed, 0 insertions, 0 deletions