Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

[MIPS] signals: make common _BLOCKABLE macro

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

authored by

Franck Bui-Huu and committed by
Ralf Baechle
24c556e9 66680583

+2 -6
+2
arch/mips/kernel/signal-common.h
··· 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 */
-2
arch/mips/kernel/signal.c
··· 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
-2
arch/mips/kernel/signal32.c
··· 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
-2
arch/mips/kernel/signal_n32.c
··· 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