qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [7192] Fix target_siginfo ordering for MIPS.
@ 2009-04-21  0:59 Paul Brook
  0 siblings, 0 replies; only message in thread
From: Paul Brook @ 2009-04-21  0:59 UTC (permalink / raw)
  To: qemu-devel

Revision: 7192
          http://svn.sv.gnu.org/viewvc/?view=rev&root=qemu&revision=7192
Author:   pbrook
Date:     2009-04-21 00:59:40 +0000 (Tue, 21 Apr 2009)
Log Message:
-----------
Fix target_siginfo ordering for MIPS.

Signed-off-by: Paul Brook <paul@codesourcery.com>

Modified Paths:
--------------
    trunk/linux-user/syscall_defs.h

Modified: trunk/linux-user/syscall_defs.h
===================================================================
--- trunk/linux-user/syscall_defs.h	2009-04-20 23:55:57 UTC (rev 7191)
+++ trunk/linux-user/syscall_defs.h	2009-04-21 00:59:40 UTC (rev 7192)
@@ -504,9 +504,15 @@
 #define TARGET_SI_PAD_SIZE	((TARGET_SI_MAX_SIZE/sizeof(int)) - 3)
 
 typedef struct target_siginfo {
+#ifdef TARGET_MIPS
 	int si_signo;
+	int si_code;
 	int si_errno;
+#else
+	int si_signo;
+	int si_errno;
 	int si_code;
+#endif
 
 	union {
 		int _pad[TARGET_SI_PAD_SIZE];

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

only message in thread, other threads:[~2009-04-21  0:59 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-04-21  0:59 [Qemu-devel] [7192] Fix target_siginfo ordering for MIPS Paul Brook

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).