summaryrefslogtreecommitdiff
path: root/linux-user/syscall_defs.h
diff options
context:
space:
mode:
Diffstat (limited to 'linux-user/syscall_defs.h')
-rw-r--r--linux-user/syscall_defs.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/linux-user/syscall_defs.h b/linux-user/syscall_defs.h
index b5fafcc5a3..73a5c4250d 100644
--- a/linux-user/syscall_defs.h
+++ b/linux-user/syscall_defs.h
@@ -448,6 +448,15 @@ int do_sigaction(int sig, const struct target_sigaction *act,
#endif
+#if defined(TARGET_MIPS)
+
+struct target_sigaction {
+ target_ulong sa_flags;
+ target_ulong _sa_handler;
+ target_sigset_t sa_mask;
+};
+
+#else
struct target_old_sigaction {
target_ulong _sa_handler;
target_ulong sa_mask;
@@ -461,6 +470,7 @@ struct target_sigaction {
target_ulong sa_restorer;
target_sigset_t sa_mask;
};
+#endif
typedef union target_sigval {
int sival_int;