aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/asm-mips/signal.h9
1 files changed, 1 insertions, 8 deletions
diff --git a/include/asm-mips/signal.h b/include/asm-mips/signal.h
index 87a1dff95199..5fc3a599d014 100644
--- a/include/asm-mips/signal.h
+++ b/include/asm-mips/signal.h
@@ -111,14 +111,7 @@ typedef unsigned long old_sigset_t; /* at least 32 bits */
111#define SIG_SETMASK32 256 /* Goodie from SGI for BSD compatibility: 111#define SIG_SETMASK32 256 /* Goodie from SGI for BSD compatibility:
112 set only the low 32 bit of the sigset. */ 112 set only the low 32 bit of the sigset. */
113 113
114/* Type of a signal handler. */ 114#include <asm-generic/signal.h>
115typedef void __signalfn_t(int);
116typedef __signalfn_t __user *__sighandler_t;
117
118/* Fake signal functions */
119#define SIG_DFL ((__sighandler_t)0) /* default signal handling */
120#define SIG_IGN ((__sighandler_t)1) /* ignore signal */
121#define SIG_ERR ((__sighandler_t)-1) /* error return from signal */
122 115
123struct sigaction { 116struct sigaction {
124 unsigned int sa_flags; 117 unsigned int sa_flags;