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