diff options
Diffstat (limited to 'include/asm-s390/signal.h')
-rw-r--r-- | include/asm-s390/signal.h | 25 |
1 files changed, 1 insertions, 24 deletions
diff --git a/include/asm-s390/signal.h b/include/asm-s390/signal.h index f273cdcd1cf6..3d6e11c6c1fd 100644 --- a/include/asm-s390/signal.h +++ b/include/asm-s390/signal.h | |||
@@ -117,30 +117,7 @@ typedef unsigned long sigset_t; | |||
117 | #define MINSIGSTKSZ 2048 | 117 | #define MINSIGSTKSZ 2048 |
118 | #define SIGSTKSZ 8192 | 118 | #define SIGSTKSZ 8192 |
119 | 119 | ||
120 | #ifdef __KERNEL__ | 120 | #include <asm-generic/signal.h> |
121 | |||
122 | /* | ||
123 | * These values of sa_flags are used only by the kernel as part of the | ||
124 | * irq handling routines. | ||
125 | * | ||
126 | * SA_INTERRUPT is also used by the irq handling routines. | ||
127 | * SA_SHIRQ is for shared interrupt support on PCI and EISA. | ||
128 | */ | ||
129 | #define SA_PROBE SA_ONESHOT | ||
130 | #define SA_SAMPLE_RANDOM SA_RESTART | ||
131 | #define SA_SHIRQ 0x04000000 | ||
132 | #endif | ||
133 | |||
134 | #define SIG_BLOCK 0 /* for blocking signals */ | ||
135 | #define SIG_UNBLOCK 1 /* for unblocking signals */ | ||
136 | #define SIG_SETMASK 2 /* for setting the signal mask */ | ||
137 | |||
138 | /* Type of a signal handler. */ | ||
139 | typedef void (*__sighandler_t)(int); | ||
140 | |||
141 | #define SIG_DFL ((__sighandler_t)0) /* default signal handling */ | ||
142 | #define SIG_IGN ((__sighandler_t)1) /* ignore signal */ | ||
143 | #define SIG_ERR ((__sighandler_t)-1) /* error return from signal */ | ||
144 | 121 | ||
145 | #ifdef __KERNEL__ | 122 | #ifdef __KERNEL__ |
146 | struct old_sigaction { | 123 | struct old_sigaction { |