forked from luck/tmp_suning_uos_patched
[MIPS] signals: make common _BLOCKABLE macro
Signed-off-by: Franck Bui-Huu <fbuihuu@gmail.com> Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
This commit is contained in:
parent
6668058346
commit
24c556e99e
|
@ -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 @@
|
||||||
|
|
||||||
#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 {
|
||||||
#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 @@
|
||||||
#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 *);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user