qemu-devel
[Top][All Lists]
Advanced

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

[Qemu-devel] [7192] Fix target_siginfo ordering for MIPS.


From: Paul Brook
Subject: [Qemu-devel] [7192] Fix target_siginfo ordering for MIPS.
Date: Tue, 21 Apr 2009 00:59:41 +0000

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 <address@hidden>

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





reply via email to

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