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