From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:59935) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1c9waa-0006gb-82 for qemu-devel@nongnu.org; Thu, 24 Nov 2016 11:09:36 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1c9waV-0005CO-EW for qemu-devel@nongnu.org; Thu, 24 Nov 2016 11:09:32 -0500 Received: from mx2.rt-rk.com ([89.216.37.149]:45012 helo=mail.rt-rk.com) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1c9waV-00052j-6r for qemu-devel@nongnu.org; Thu, 24 Nov 2016 11:09:27 -0500 From: Lena Djokic Date: Thu, 24 Nov 2016 17:08:54 +0100 Message-Id: <1480003738-8754-4-git-send-email-Lena.Djokic@rt-rk.com> In-Reply-To: <1480003738-8754-1-git-send-email-Lena.Djokic@rt-rk.com> References: <1480003738-8754-1-git-send-email-Lena.Djokic@rt-rk.com> Subject: [Qemu-devel] [PATCH v2 3/7] linux-user: Fix flock definition for mips64 List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org, riku.voipio@iki.fi Mips64 uses generic flock structure. See /arch/mips/include/uapi/asm/fcntl.h#L63 for reference. Signed-off-by: Lena Djokic --- 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 0b15466..099fd0e 100644 --- a/linux-user/syscall_defs.h +++ b/linux-user/syscall_defs.h @@ -2363,7 +2363,7 @@ struct target_flock { short l_whence; abi_long l_start; abi_long l_len; -#if defined(TARGET_MIPS) +#if defined(TARGET_MIPS) && (TARGET_ABI_BITS == 32) abi_long l_sysid; #endif int l_pid; -- 2.7.4