Commit 24c556e99ec8a61ce1fbc75bee61dc19edf2c4df

Authored by Franck Bui-Huu
Committed by Ralf Baechle
1 parent 6668058346

[MIPS] signals: make common _BLOCKABLE macro

Signed-off-by: Franck Bui-Huu <fbuihuu@gmail.com>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>

Showing 4 changed files with 2 additions and 6 deletions Side-by-side Diff

arch/mips/kernel/signal-common.h
... ... @@ -19,6 +19,8 @@
19 19 # define DEBUGP(fmt, args...)
20 20 #endif
21 21  
  22 +#define _BLOCKABLE (~(sigmask(SIGKILL) | sigmask(SIGSTOP)))
  23 +
22 24 /*
23 25 * Determine which stack to use..
24 26 */
arch/mips/kernel/signal.c
... ... @@ -34,8 +34,6 @@
34 34  
35 35 #include "signal-common.h"
36 36  
37   -#define _BLOCKABLE (~(sigmask(SIGKILL) | sigmask(SIGSTOP)))
38   -
39 37 /*
40 38 * Horribly complicated - with the bloody RM9000 workarounds enabled
41 39 * the signal trampolines is moving to the end of the structure so we can
arch/mips/kernel/signal32.c
... ... @@ -104,8 +104,6 @@
104 104 #define __NR_O32_rt_sigreturn 4193
105 105 #define __NR_O32_restart_syscall 4253
106 106  
107   -#define _BLOCKABLE (~(sigmask(SIGKILL) | sigmask(SIGSTOP)))
108   -
109 107 /* 32-bit compatibility types */
110 108  
111 109 #define _NSIG_BPW32 32
arch/mips/kernel/signal_n32.c
... ... @@ -47,8 +47,6 @@
47 47 #define __NR_N32_rt_sigreturn 6211
48 48 #define __NR_N32_restart_syscall 6214
49 49  
50   -#define _BLOCKABLE (~(sigmask(SIGKILL) | sigmask(SIGSTOP)))
51   -
52 50 extern int setup_sigcontext(struct pt_regs *, struct sigcontext __user *);
53 51 extern int restore_sigcontext(struct pt_regs *, struct sigcontext __user *);
54 52