diff options
Diffstat (limited to 'arch')
-rw-r--r-- | arch/mips/kernel/signal-common.h | 2 | ||||
-rw-r--r-- | arch/mips/kernel/signal.c | 2 | ||||
-rw-r--r-- | arch/mips/kernel/signal32.c | 2 | ||||
-rw-r--r-- | arch/mips/kernel/signal_n32.c | 2 |
4 files changed, 2 insertions, 6 deletions
diff --git a/arch/mips/kernel/signal-common.h b/arch/mips/kernel/signal-common.h index b95e542ace27..fdbdbdc65b54 100644 --- a/arch/mips/kernel/signal-common.h +++ b/arch/mips/kernel/signal-common.h | |||
@@ -19,6 +19,8 @@ | |||
19 | # define DEBUGP(fmt, args...) | 19 | # define DEBUGP(fmt, args...) |
20 | #endif | 20 | #endif |
21 | 21 | ||
22 | #define _BLOCKABLE (~(sigmask(SIGKILL) | sigmask(SIGSTOP))) | ||
23 | |||
22 | /* | 24 | /* |
23 | * Determine which stack to use.. | 25 | * Determine which stack to use.. |
24 | */ | 26 | */ |
diff --git a/arch/mips/kernel/signal.c b/arch/mips/kernel/signal.c index e7b04928caec..b2e9ab1bb101 100644 --- a/arch/mips/kernel/signal.c +++ b/arch/mips/kernel/signal.c | |||
@@ -34,8 +34,6 @@ | |||
34 | 34 | ||
35 | #include "signal-common.h" | 35 | #include "signal-common.h" |
36 | 36 | ||
37 | #define _BLOCKABLE (~(sigmask(SIGKILL) | sigmask(SIGSTOP))) | ||
38 | |||
39 | /* | 37 | /* |
40 | * Horribly complicated - with the bloody RM9000 workarounds enabled | 38 | * Horribly complicated - with the bloody RM9000 workarounds enabled |
41 | * the signal trampolines is moving to the end of the structure so we can | 39 | * the signal trampolines is moving to the end of the structure so we can |
diff --git a/arch/mips/kernel/signal32.c b/arch/mips/kernel/signal32.c index 1b9262d3fd23..db00c333bff3 100644 --- a/arch/mips/kernel/signal32.c +++ b/arch/mips/kernel/signal32.c | |||
@@ -104,8 +104,6 @@ typedef struct compat_siginfo { | |||
104 | #define __NR_O32_rt_sigreturn 4193 | 104 | #define __NR_O32_rt_sigreturn 4193 |
105 | #define __NR_O32_restart_syscall 4253 | 105 | #define __NR_O32_restart_syscall 4253 |
106 | 106 | ||
107 | #define _BLOCKABLE (~(sigmask(SIGKILL) | sigmask(SIGSTOP))) | ||
108 | |||
109 | /* 32-bit compatibility types */ | 107 | /* 32-bit compatibility types */ |
110 | 108 | ||
111 | #define _NSIG_BPW32 32 | 109 | #define _NSIG_BPW32 32 |
diff --git a/arch/mips/kernel/signal_n32.c b/arch/mips/kernel/signal_n32.c index b17ef04691e3..1a5f248faf3b 100644 --- a/arch/mips/kernel/signal_n32.c +++ b/arch/mips/kernel/signal_n32.c | |||
@@ -47,8 +47,6 @@ | |||
47 | #define __NR_N32_rt_sigreturn 6211 | 47 | #define __NR_N32_rt_sigreturn 6211 |
48 | #define __NR_N32_restart_syscall 6214 | 48 | #define __NR_N32_restart_syscall 6214 |
49 | 49 | ||
50 | #define _BLOCKABLE (~(sigmask(SIGKILL) | sigmask(SIGSTOP))) | ||
51 | |||
52 | extern int setup_sigcontext(struct pt_regs *, struct sigcontext __user *); | 50 | extern int setup_sigcontext(struct pt_regs *, struct sigcontext __user *); |
53 | extern int restore_sigcontext(struct pt_regs *, struct sigcontext __user *); | 51 | extern int restore_sigcontext(struct pt_regs *, struct sigcontext __user *); |
54 | 52 | ||