From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:44951) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Wyeyo-0000iW-On for qemu-devel@nongnu.org; Sun, 22 Jun 2014 06:26:40 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Wyeyf-0005Jh-0v for qemu-devel@nongnu.org; Sun, 22 Jun 2014 06:26:34 -0400 Received: from mail-we0-x22f.google.com ([2a00:1450:400c:c03::22f]:58252) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Wyeye-0005Ja-R9 for qemu-devel@nongnu.org; Sun, 22 Jun 2014 06:26:24 -0400 Received: by mail-we0-f175.google.com with SMTP id k48so5424665wev.6 for ; Sun, 22 Jun 2014 03:26:24 -0700 (PDT) Sender: Paul Burton From: Paul Burton Date: Sun, 22 Jun 2014 11:25:39 +0100 Message-Id: <1403432748-4679-8-git-send-email-paul@archlinuxmips.org> In-Reply-To: <1403432748-4679-1-git-send-email-paul@archlinuxmips.org> References: <1403432748-4679-1-git-send-email-paul@archlinuxmips.org> Subject: [Qemu-devel] [PATCH v3 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 v3: - None. 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