From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:51133) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WyUAX-00051O-9Q for qemu-devel@nongnu.org; Sat, 21 Jun 2014 18:54:02 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WyUAR-0005b7-Ae for qemu-devel@nongnu.org; Sat, 21 Jun 2014 18:53:57 -0400 Received: from mail-wi0-x22e.google.com ([2a00:1450:400c:c05::22e]:59571) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WyUAR-0005ak-3V for qemu-devel@nongnu.org; Sat, 21 Jun 2014 18:53:51 -0400 Received: by mail-wi0-f174.google.com with SMTP id bs8so2388799wib.7 for ; Sat, 21 Jun 2014 15:53:50 -0700 (PDT) Sender: Paul Burton From: Paul Burton Date: Sat, 21 Jun 2014 23:53:02 +0100 Message-Id: <1403391191-18603-8-git-send-email-paul@archlinuxmips.org> In-Reply-To: <1403391191-18603-1-git-send-email-paul@archlinuxmips.org> References: <1403391191-18603-1-git-send-email-paul@archlinuxmips.org> Subject: [Qemu-devel] [PATCH v2 07/16] linux-user: fix struct target_epoll_event layout for MIPS List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: Riku Voipio , Paul Burton MIPS requires the pad field to 64b-align the data field just as ARM does. Signed-off-by: Paul Burton --- Changes in v2: - Apply the same padding for the mips64 target. --- 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