Commit fd767832 authored by Paul Burton's avatar Paul Burton Committed by Riku Voipio
Browse files

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: default avatarPaul Burton <paul@archlinuxmips.org>
Signed-off-by: default avatarRiku Voipio <riku.voipio@linaro.org>
parent 0fa82d39
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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;