Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 1 | /* |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 2 | * S390 version |
| 3 | * |
| 4 | * Derived from "include/asm-i386/signal.h" |
| 5 | */ |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 6 | #ifndef _ASMS390_SIGNAL_H |
| 7 | #define _ASMS390_SIGNAL_H |
| 8 | |
David Howells | 9807f75 | 2012-10-09 09:47:31 +0100 | [diff] [blame] | 9 | #include <uapi/asm/signal.h> |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 10 | |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 11 | /* Most things should be clean enough to redefine this at will, if care |
| 12 | is taken to make libc match. */ |
| 13 | #include <asm/sigcontext.h> |
| 14 | #define _NSIG _SIGCONTEXT_NSIG |
| 15 | #define _NSIG_BPW _SIGCONTEXT_NSIG_BPW |
| 16 | #define _NSIG_WORDS _SIGCONTEXT_NSIG_WORDS |
| 17 | |
| 18 | typedef unsigned long old_sigset_t; /* at least 32 bits */ |
| 19 | |
| 20 | typedef struct { |
| 21 | unsigned long sig[_NSIG_WORDS]; |
| 22 | } sigset_t; |
| 23 | |
Al Viro | 574c486 | 2012-11-25 22:24:19 -0500 | [diff] [blame] | 24 | #define __ARCH_HAS_SA_RESTORER |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 25 | #endif |