diff options
author | Yoichi Yuasa <yoichi_yuasa@tripeaks.co.jp> | 2006-07-31 10:01:37 -0400 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2006-09-27 08:37:44 -0400 |
commit | 6b3e5f44b56745daad8cd913ccc7bcd9a9ece5ea (patch) | |
tree | ea1eb1da48e0b89e940cfe47c06ec2d914aa98e8 /include/asm-mips/signal.h | |
parent | a00f6310183e164ad2cfa5f4ec5d8c724ff0f799 (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>
Diffstat (limited to 'include/asm-mips/signal.h')
-rw-r--r-- | include/asm-mips/signal.h | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/include/asm-mips/signal.h b/include/asm-mips/signal.h index 87a1dff9519..5fc3a599d01 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> |
115 | typedef void __signalfn_t(int); | ||
116 | typedef __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 | ||
123 | struct sigaction { | 116 | struct sigaction { |
124 | unsigned int sa_flags; | 117 | unsigned int sa_flags; |