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