All of lore.kernel.org
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH] fix flock64 structure on PPC
@ 2008-03-17 17:13 Gary Thomas
  0 siblings, 0 replies; only message in thread
From: Gary Thomas @ 2008-03-17 17:13 UTC (permalink / raw)
  To: qemu-devel

[-- Attachment #1: Type: text/plain, Size: 328 bytes --]

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
------------------------------------------------------------

[-- Attachment #2: diffs --]
[-- Type: text/plain, Size: 391 bytes --]

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;

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2008-03-17 17:13 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-03-17 17:13 [Qemu-devel] [PATCH] fix flock64 structure on PPC Gary Thomas

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.