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