diff mbox series

[PULL,02/15] linux-user/hppa: Fix TARGET_SA_* defines

Message ID 2da6e76ccaf5c5aad4192fddaa2062480ad82345.1511212753.git.riku.voipio@linaro.org
State Accepted
Commit 2da6e76ccaf5c5aad4192fddaa2062480ad82345
Headers show
Series late linux-user fixes for 2.11 | expand

Commit Message

Riku Voipio Nov. 20, 2017, 9:21 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>

Signed-off-by: Riku Voipio <riku.voipio@linaro.org>

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

-- 
2.14.2
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 */