aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorYoichi Yuasa <yoichi_yuasa@tripeaks.co.jp>2006-07-31 10:01:37 -0400
committerRalf Baechle <ralf@linux-mips.org>2006-09-27 08:37:44 -0400
commit6b3e5f44b56745daad8cd913ccc7bcd9a9ece5ea (patch)
treeea1eb1da48e0b89e940cfe47c06ec2d914aa98e8
parenta00f6310183e164ad2cfa5f4ec5d8c724ff0f799 (diff)
[MIPS] Use common definitions from asm-generic/signal.h
Signed-off-by: Yoichi Yuasa <yoichi_yuasa@tripeaks.co.jp> Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
-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;