qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] [PULL 10/19] linux-user: fix struct target_epoll_event layo


From: riku . voipio
Subject: [Qemu-devel] [PULL 10/19] linux-user: fix struct target_epoll_event layout for MIPS
Date: Mon, 23 Jun 2014 16:26:25 +0300

From: Paul Burton <address@hidden>

MIPS requires the pad field to 64b-align the data field just as ARM
does.

Signed-off-by: Paul Burton <address@hidden>
Signed-off-by: Riku Voipio <address@hidden>
---
 linux-user/syscall_defs.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/linux-user/syscall_defs.h b/linux-user/syscall_defs.h
index 69c3982..e379b45 100644
--- a/linux-user/syscall_defs.h
+++ b/linux-user/syscall_defs.h
@@ -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;
-- 
2.0.0




reply via email to

[Prev in Thread] Current Thread [Next in Thread]