|
|
|
@ -56,7 +56,6 @@ |
|
|
|
|
#undef DEBUG_SIG |
|
|
|
|
|
|
|
|
|
#ifdef CONFIG_PPC64 |
|
|
|
|
#define sys_sigsuspend compat_sys_sigsuspend |
|
|
|
|
#define sys_rt_sigreturn compat_sys_rt_sigreturn |
|
|
|
|
#define sys_sigaction compat_sys_sigaction |
|
|
|
|
#define sys_swapcontext compat_sys_swapcontext |
|
|
|
@ -238,16 +237,6 @@ static inline int restore_general_regs(struct pt_regs *regs, |
|
|
|
|
|
|
|
|
|
#endif /* CONFIG_PPC64 */ |
|
|
|
|
|
|
|
|
|
/*
|
|
|
|
|
* Atomically swap in the new signal mask, and wait for a signal. |
|
|
|
|
*/ |
|
|
|
|
long sys_sigsuspend(old_sigset_t mask) |
|
|
|
|
{ |
|
|
|
|
sigset_t blocked; |
|
|
|
|
siginitset(&blocked, mask); |
|
|
|
|
return sigsuspend(&blocked); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
long sys_sigaction(int sig, struct old_sigaction __user *act, |
|
|
|
|
struct old_sigaction __user *oact) |
|
|
|
|
{ |
|
|
|
|