diff options
Diffstat (limited to 'include/asm-x86_64/signal.h')
-rw-r--r-- | include/asm-x86_64/signal.h | 14 |
1 files changed, 1 insertions, 13 deletions
diff --git a/include/asm-x86_64/signal.h b/include/asm-x86_64/signal.h index 4987ad8082ba..fe9b96d94815 100644 --- a/include/asm-x86_64/signal.h +++ b/include/asm-x86_64/signal.h | |||
@@ -116,21 +116,9 @@ typedef unsigned long sigset_t; | |||
116 | #define MINSIGSTKSZ 2048 | 116 | #define MINSIGSTKSZ 2048 |
117 | #define SIGSTKSZ 8192 | 117 | #define SIGSTKSZ 8192 |
118 | 118 | ||
119 | #define SIG_BLOCK 0 /* for blocking signals */ | 119 | #include <asm-generic/signal.h> |
120 | #define SIG_UNBLOCK 1 /* for unblocking signals */ | ||
121 | #define SIG_SETMASK 2 /* for setting the signal mask */ | ||
122 | 120 | ||
123 | #ifndef __ASSEMBLY__ | 121 | #ifndef __ASSEMBLY__ |
124 | /* Type of a signal handler. */ | ||
125 | typedef void __signalfn_t(int); | ||
126 | typedef __signalfn_t __user *__sighandler_t; | ||
127 | |||
128 | typedef void __restorefn_t(void); | ||
129 | typedef __restorefn_t __user *__sigrestore_t; | ||
130 | |||
131 | #define SIG_DFL ((__sighandler_t)0) /* default signal handling */ | ||
132 | #define SIG_IGN ((__sighandler_t)1) /* ignore signal */ | ||
133 | #define SIG_ERR ((__sighandler_t)-1) /* error return from signal */ | ||
134 | 122 | ||
135 | struct sigaction { | 123 | struct sigaction { |
136 | __sighandler_t sa_handler; | 124 | __sighandler_t sa_handler; |