diff options
Diffstat (limited to 'include/asm-sparc/signal.h')
| -rw-r--r-- | include/asm-sparc/signal.h | 11 |
1 files changed, 1 insertions, 10 deletions
diff --git a/include/asm-sparc/signal.h b/include/asm-sparc/signal.h index f792e10e704f..aa9960ad0ca9 100644 --- a/include/asm-sparc/signal.h +++ b/include/asm-sparc/signal.h | |||
| @@ -174,16 +174,7 @@ struct sigstack { | |||
| 174 | #define SA_STATIC_ALLOC 0x80 | 174 | #define SA_STATIC_ALLOC 0x80 |
| 175 | #endif | 175 | #endif |
| 176 | 176 | ||
| 177 | /* Type of a signal handler. */ | 177 | #include <asm-generic/signal.h> |
| 178 | #ifdef __KERNEL__ | ||
| 179 | typedef void (*__sighandler_t)(int, int, struct sigcontext *, char *); | ||
| 180 | #else | ||
| 181 | typedef void (*__sighandler_t)(int); | ||
| 182 | #endif | ||
| 183 | |||
| 184 | #define SIG_DFL ((__sighandler_t)0) /* default signal handling */ | ||
| 185 | #define SIG_IGN ((__sighandler_t)1) /* ignore signal */ | ||
| 186 | #define SIG_ERR ((__sighandler_t)-1) /* error return from signal */ | ||
| 187 | 178 | ||
| 188 | #ifdef __KERNEL__ | 179 | #ifdef __KERNEL__ |
| 189 | struct __new_sigaction { | 180 | struct __new_sigaction { |
