Skip to content

Commit 24c556e

Browse files
fbuihuuralfbaechle
authored andcommitted
[MIPS] signals: make common _BLOCKABLE macro
Signed-off-by: Franck Bui-Huu <fbuihuu@gmail.com> Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
1 parent 6668058 commit 24c556e

4 files changed

Lines changed: 2 additions & 6 deletions

File tree

‎arch/mips/kernel/signal-common.h‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,8 @@
1919
# define DEBUGP(fmt, args...)
2020
#endif
2121

22+
#define _BLOCKABLE (~(sigmask(SIGKILL) | sigmask(SIGSTOP)))
23+
2224
/*
2325
* Determine which stack to use..
2426
*/

‎arch/mips/kernel/signal.c‎

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,6 @@
3434

3535
#include "signal-common.h"
3636

37-
#define _BLOCKABLE (~(sigmask(SIGKILL) | sigmask(SIGSTOP)))
38-
3937
/*
4038
* Horribly complicated - with the bloody RM9000 workarounds enabled
4139
* the signal trampolines is moving to the end of the structure so we can

‎arch/mips/kernel/signal32.c‎

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -104,8 +104,6 @@ typedef struct compat_siginfo {
104104
#define __NR_O32_rt_sigreturn 4193
105105
#define __NR_O32_restart_syscall 4253
106106

107-
#define _BLOCKABLE (~(sigmask(SIGKILL) | sigmask(SIGSTOP)))
108-
109107
/* 32-bit compatibility types */
110108

111109
#define _NSIG_BPW32 32

‎arch/mips/kernel/signal_n32.c‎

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,8 +47,6 @@
4747
#define __NR_N32_rt_sigreturn 6211
4848
#define __NR_N32_restart_syscall 6214
4949

50-
#define _BLOCKABLE (~(sigmask(SIGKILL) | sigmask(SIGSTOP)))
51-
5250
extern int setup_sigcontext(struct pt_regs *, struct sigcontext __user *);
5351
extern int restore_sigcontext(struct pt_regs *, struct sigcontext __user *);
5452

0 commit comments

Comments
 (0)