[Top][All Lists]

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

[Qemu-devel] [PATCH] fix flock64 structure on PPC

From: Gary Thomas
Subject: [Qemu-devel] [PATCH] fix flock64 structure on PPC
Date: Mon, 17 Mar 2008 11:13:02 -0600
User-agent: Thunderbird (X11/20080226)

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
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;
        unsigned long long l_start;
        unsigned long long l_len;
        int  l_pid;

reply via email to

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