diff mbox series

[2/7] linux-user/hppa: Fix TARGET_SA_* defines

Message ID 20171031125358.23377-3-richard.henderson@linaro.org
State New
Headers show
Series linux-user fixes, mostly for hppa | expand

Commit Message

Richard Henderson Oct. 31, 2017, 12:53 p.m. UTC
From: Helge Deller <deller@gmx.de>


Reviewed-by: Laurent Vivier <laurent@vivier.eu>

Signed-off-by: Helge Deller <deller@gmx.de>

Signed-off-by: Richard Henderson <rth@twiddle.net>

---
 linux-user/syscall_defs.h | 8 ++++++++
 1 file changed, 8 insertions(+)

-- 
2.13.6
diff mbox series

Patch

diff --git a/linux-user/syscall_defs.h b/linux-user/syscall_defs.h
index e366183419..38339ecb9a 100644
--- a/linux-user/syscall_defs.h
+++ b/linux-user/syscall_defs.h
@@ -473,6 +473,14 @@  int do_sigaction(int sig, const struct target_sigaction *act,
 #define TARGET_SA_RESETHAND	0x00000010
 #define TARGET_SA_NOCLDWAIT	0x00000020 /* not supported yet */
 #define TARGET_SA_SIGINFO	0x00000040
+#elif defined(TARGET_HPPA)
+#define TARGET_SA_ONSTACK       0x00000001
+#define TARGET_SA_RESETHAND     0x00000004
+#define TARGET_SA_NOCLDSTOP     0x00000008
+#define TARGET_SA_SIGINFO       0x00000010
+#define TARGET_SA_NODEFER       0x00000020
+#define TARGET_SA_RESTART       0x00000040
+#define TARGET_SA_NOCLDWAIT     0x00000080
 #else
 #define TARGET_SA_NOCLDSTOP	0x00000001
 #define TARGET_SA_NOCLDWAIT	0x00000002 /* not supported yet */