All of lore.kernel.org
 help / color / mirror / Atom feed
From: Gary Thomas <gary@mlbassoc.com>
To: qemu-devel@nongnu.org
Subject: [Qemu-devel] [PATCH] fix flock64 structure on PPC
Date: Mon, 17 Mar 2008 11:13:02 -0600	[thread overview]
Message-ID: <47DEA69E.40509@mlbassoc.com> (raw)

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

                 reply	other threads:[~2008-03-17 17:13 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=47DEA69E.40509@mlbassoc.com \
    --to=gary@mlbassoc.com \
    --cc=qemu-devel@nongnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.