linux-user: fix struct target_epoll_event layout for MIPS
MIPS requires the pad field to 64b-align the data field just as ARM does. Signed-off-by: Paul Burton <paul@archlinuxmips.org> Signed-off-by: Riku Voipio <riku.voipio@linaro.org>
This commit is contained in:
parent
0fa82d39c8
commit
fd76783243
@ -2528,7 +2528,7 @@ typedef union target_epoll_data {
|
||||
|
||||
struct target_epoll_event {
|
||||
uint32_t events;
|
||||
#ifdef TARGET_ARM
|
||||
#if defined(TARGET_ARM) || defined(TARGET_MIPS) || defined(TARGET_MIPS64)
|
||||
uint32_t __pad;
|
||||
#endif
|
||||
target_epoll_data_t data;
|
||||
|
Loading…
Reference in New Issue
Block a user