summaryrefslogtreecommitdiff
path: root/linux-user
diff options
context:
space:
mode:
authorpbrook <pbrook@c046a42c-6fe2-441c-8c8c-71466251a162>2009-04-21 00:59:40 +0000
committerpbrook <pbrook@c046a42c-6fe2-441c-8c8c-71466251a162>2009-04-21 00:59:40 +0000
commit3f53d546ebd08c4bddd1e89301f6858a7d5426fd (patch)
tree9a6e3285fa90f8847bc218652dc6987cd7d3f01e /linux-user
parentdf357f0e6287339e3cb880635719cca3b79d2b6c (diff)
downloadqemu-3f53d546ebd08c4bddd1e89301f6858a7d5426fd.tar.gz
Fix target_siginfo ordering for MIPS.
Signed-off-by: Paul Brook <paul@codesourcery.com> git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@7192 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'linux-user')
-rw-r--r--linux-user/syscall_defs.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/linux-user/syscall_defs.h b/linux-user/syscall_defs.h
index a3736905d9..7f0b0dff14 100644
--- a/linux-user/syscall_defs.h
+++ b/linux-user/syscall_defs.h
@@ -504,9 +504,15 @@ typedef struct {
#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];