]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
[MIPS] Use common definitions from asm-generic/signal.h
authorYoichi Yuasa <yoichi_yuasa@tripeaks.co.jp>
Mon, 31 Jul 2006 14:01:37 +0000 (23:01 +0900)
committerRalf Baechle <ralf@linux-mips.org>
Wed, 27 Sep 2006 12:37:44 +0000 (13:37 +0100)
Signed-off-by: Yoichi Yuasa <yoichi_yuasa@tripeaks.co.jp>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
include/asm-mips/signal.h

index 87a1dff9519917d2480025310e54dc6a5dfd9830..5fc3a599d0144a046c27447915267d1113286394 100644 (file)
@@ -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;