From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JbItX-0001Z0-NP for qemu-devel@nongnu.org; Mon, 17 Mar 2008 13:13:07 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JbItW-0001YJ-9c for qemu-devel@nongnu.org; Mon, 17 Mar 2008 13:13:07 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JbItV-0001YE-W4 for qemu-devel@nongnu.org; Mon, 17 Mar 2008 13:13:06 -0400 Received: from [204.133.123.27] (helo=mail.chez-thomas.org) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1JbItV-0001Au-NR for qemu-devel@nongnu.org; Mon, 17 Mar 2008 13:13:06 -0400 Message-ID: <47DEA69E.40509@mlbassoc.com> Date: Mon, 17 Mar 2008 11:13:02 -0600 From: Gary Thomas MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="------------000407000707090902040207" Subject: [Qemu-devel] [PATCH] fix flock64 structure on PPC Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org This is a multi-part message in MIME format. --------------000407000707090902040207 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit The attached patch makes the flock64 functions work for PPC targets (target alignment didn't match up) -- ------------------------------------------------------------ Gary Thomas | Consulting for the MLB Associates | Embedded world ------------------------------------------------------------ --------------000407000707090902040207 Content-Type: text/plain; name="diffs" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="diffs" Index: linux-user/syscall_defs.h =================================================================== --- linux-user/syscall_defs.h (revision 4118) +++ linux-user/syscall_defs.h (revision 4119) @@ -1762,6 +1762,9 @@ struct target_flock64 { short l_type; short l_whence; +#ifdef TARGET_PPC + int __pad; +#endif unsigned long long l_start; unsigned long long l_len; int l_pid; --------------000407000707090902040207--