Commit 24c556e9 authored by Franck Bui-Huu's avatar Franck Bui-Huu Committed by Ralf Baechle
Browse files

[MIPS] signals: make common _BLOCKABLE macro

parent 66680583
Loading
Loading
Loading
Loading
+2 −0
Original line number Original line Diff line number Diff line
@@ -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..
 */
 */
+0 −2
Original line number Original line Diff line number Diff line
@@ -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
+0 −2
Original line number Original line Diff line number Diff line
@@ -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
+0 −2
Original line number Original line Diff line number Diff line
@@ -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 *);