aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYoichi Yuasa2006-07-31 23:01:37 +0900
committerRalf Baechle2006-09-27 13:37:44 +0100
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 */
#define SIG_SETMASK32 256 /* Goodie from SGI for BSD compatibility:
set only the low 32 bit of the sigset. */
-/* Type of a signal handler. */
-typedef void __signalfn_t(int);
-typedef __signalfn_t __user *__sighandler_t;
-
-/* Fake signal functions */
-#define SIG_DFL ((__sighandler_t)0) /* default signal handling */
-#define SIG_IGN ((__sighandler_t)1) /* ignore signal */
-#define SIG_ERR ((__sighandler_t)-1) /* error return from signal */
+#include <asm-generic/signal.h>
struct sigaction {
unsigned int sa_flags;