提交 24c556e9 编写于 作者: F Franck Bui-Huu 提交者: Ralf Baechle

[MIPS] signals: make common _BLOCKABLE macro

Signed-off-by: NFranck Bui-Huu <fbuihuu@gmail.com>
Signed-off-by: NRalf Baechle <ralf@linux-mips.org>
上级 66680583
...@@ -19,6 +19,8 @@ ...@@ -19,6 +19,8 @@
# define DEBUGP(fmt, args...) # define DEBUGP(fmt, args...)
#endif #endif
#define _BLOCKABLE (~(sigmask(SIGKILL) | sigmask(SIGSTOP)))
/* /*
* Determine which stack to use.. * Determine which stack to use..
*/ */
......
...@@ -34,8 +34,6 @@ ...@@ -34,8 +34,6 @@
#include "signal-common.h" #include "signal-common.h"
#define _BLOCKABLE (~(sigmask(SIGKILL) | sigmask(SIGSTOP)))
/* /*
* Horribly complicated - with the bloody RM9000 workarounds enabled * Horribly complicated - with the bloody RM9000 workarounds enabled
* the signal trampolines is moving to the end of the structure so we can * the signal trampolines is moving to the end of the structure so we can
......
...@@ -104,8 +104,6 @@ typedef struct compat_siginfo { ...@@ -104,8 +104,6 @@ typedef struct compat_siginfo {
#define __NR_O32_rt_sigreturn 4193 #define __NR_O32_rt_sigreturn 4193
#define __NR_O32_restart_syscall 4253 #define __NR_O32_restart_syscall 4253
#define _BLOCKABLE (~(sigmask(SIGKILL) | sigmask(SIGSTOP)))
/* 32-bit compatibility types */ /* 32-bit compatibility types */
#define _NSIG_BPW32 32 #define _NSIG_BPW32 32
......
...@@ -47,8 +47,6 @@ ...@@ -47,8 +47,6 @@
#define __NR_N32_rt_sigreturn 6211 #define __NR_N32_rt_sigreturn 6211
#define __NR_N32_restart_syscall 6214 #define __NR_N32_restart_syscall 6214
#define _BLOCKABLE (~(sigmask(SIGKILL) | sigmask(SIGSTOP)))
extern int setup_sigcontext(struct pt_regs *, struct sigcontext __user *); extern int setup_sigcontext(struct pt_regs *, struct sigcontext __user *);
extern int restore_sigcontext(struct pt_regs *, struct sigcontext __user *); extern int restore_sigcontext(struct pt_regs *, struct sigcontext __user *);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册