提交 6b3e5f44 编写于 作者: Y Yoichi Yuasa 提交者: Ralf Baechle

[MIPS] Use common definitions from asm-generic/signal.h

Signed-off-by: NYoichi Yuasa <yoichi_yuasa@tripeaks.co.jp>
Signed-off-by: NRalf Baechle <ralf@linux-mips.org>
上级 a00f6310
...@@ -111,14 +111,7 @@ typedef unsigned long old_sigset_t; /* at least 32 bits */ ...@@ -111,14 +111,7 @@ typedef unsigned long old_sigset_t; /* at least 32 bits */
#define SIG_SETMASK32 256 /* Goodie from SGI for BSD compatibility: #define SIG_SETMASK32 256 /* Goodie from SGI for BSD compatibility:
set only the low 32 bit of the sigset. */ set only the low 32 bit of the sigset. */
/* Type of a signal handler. */ #include <asm-generic/signal.h>
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 */
struct sigaction { struct sigaction {
unsigned int sa_flags; unsigned int sa_flags;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册