linux-mips
[Top] [All Lists]

[PATCH] removed common definitions in signal.h

To: Ralf Baechle <ralf@linux-mips.org>
Subject: [PATCH] removed common definitions in signal.h
From: Yoichi Yuasa <yoichi_yuasa@tripeaks.co.jp>
Date: Wed, 16 Aug 2006 23:07:47 +0900
Cc: yoichi_yuasa@tripeaks.co.jp, linux-mips <linux-mips@linux-mips.org>
Organization: TriPeaks Corporation
Original-recipient: rfc822;linux-mips@linux-mips.org
Sender: linux-mips-bounce@linux-mips.org
Hi Ralf,

These definitions are already defined in asm-generic/signal.h .

Yoichi

Signed-off-by: Yoichi Yuasa <yoichi_yuasa@tripeaks.co.jp>

diff -pruN -X mips/Documentation/dontdiff mips-orig/include/asm-mips/signal.h 
mips/include/asm-mips/signal.h
--- mips-orig/include/asm-mips/signal.h 2006-07-25 14:34:52.507500500 +0900
+++ mips/include/asm-mips/signal.h      2006-07-25 14:49:34.814641250 +0900
@@ -111,14 +111,7 @@ typedef unsigned long old_sigset_t;                /* 
 #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;

<Prev in Thread] Current Thread [Next in Thread>