Haavard Skinnemoen | 5f97f7f | 2006-09-25 23:32:13 -0700 | [diff] [blame] | 1 | /* |
| 2 | * Copyright (C) 2004-2006 Atmel Corporation |
| 3 | * |
| 4 | * This program is free software; you can redistribute it and/or modify |
| 5 | * it under the terms of the GNU General Public License version 2 as |
| 6 | * published by the Free Software Foundation. |
| 7 | */ |
| 8 | #ifndef __ASM_AVR32_SIGNAL_H |
| 9 | #define __ASM_AVR32_SIGNAL_H |
| 10 | |
David Howells | 83b9d3a | 2012-10-10 12:09:31 +0100 | [diff] [blame] | 11 | #include <uapi/asm/signal.h> |
Haavard Skinnemoen | 5f97f7f | 2006-09-25 23:32:13 -0700 | [diff] [blame] | 12 | |
Haavard Skinnemoen | 5f97f7f | 2006-09-25 23:32:13 -0700 | [diff] [blame] | 13 | /* Most things should be clean enough to redefine this at will, if care |
| 14 | is taken to make libc match. */ |
| 15 | |
| 16 | #define _NSIG 64 |
| 17 | #define _NSIG_BPW 32 |
| 18 | #define _NSIG_WORDS (_NSIG / _NSIG_BPW) |
| 19 | |
| 20 | typedef unsigned long old_sigset_t; /* at least 32 bits */ |
| 21 | |
| 22 | typedef struct { |
| 23 | unsigned long sig[_NSIG_WORDS]; |
| 24 | } sigset_t; |
| 25 | |
Al Viro | 574c486 | 2012-11-25 22:24:19 -0500 | [diff] [blame] | 26 | #define __ARCH_HAS_SA_RESTORER |
Haavard Skinnemoen | 5f97f7f | 2006-09-25 23:32:13 -0700 | [diff] [blame] | 27 | |
Haavard Skinnemoen | 5f97f7f | 2006-09-25 23:32:13 -0700 | [diff] [blame] | 28 | #include <asm/sigcontext.h> |
| 29 | #undef __HAVE_ARCH_SIG_BITOPS |
| 30 | |
Haavard Skinnemoen | 5f97f7f | 2006-09-25 23:32:13 -0700 | [diff] [blame] | 31 | #endif |