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

frv: switch to generic old sigsuspend

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>

Al Viro 39e08a9b fe761416

+1 -10
+1
arch/frv/Kconfig
··· 13 13 select GENERIC_CPU_DEVICES 14 14 select ARCH_WANT_IPC_PARSE_VERSION 15 15 select GENERIC_SIGALTSTACK 16 + select OLD_SIGSUSPEND3 16 17 17 18 config ZONE_DMA 18 19 bool
-10
arch/frv/kernel/signal.c
··· 32 32 unsigned long GOT; 33 33 }; 34 34 35 - /* 36 - * Atomically swap in the new signal mask, and wait for a signal. 37 - */ 38 - asmlinkage int sys_sigsuspend(int history0, int history1, old_sigset_t mask) 39 - { 40 - sigset_t blocked; 41 - siginitset(&blocked, mask); 42 - return sigsuspend(&blocked); 43 - } 44 - 45 35 asmlinkage int sys_sigaction(int sig, 46 36 const struct old_sigaction __user *act, 47 37 struct old_sigaction __user *oact)