new helper: sigsuspend()
authorAl Viro <viro@zeniv.linux.org.uk>
Tue, 22 May 2012 01:42:32 +0000 (21:42 -0400)
committerAl Viro <viro@zeniv.linux.org.uk>
Tue, 22 May 2012 03:52:30 +0000 (23:52 -0400)
commit68f3f16d9ad0f1e28ab3fd0001ab5798c41f15a3
treefd023109413f5eb28b364663fdf4bf2eabca47d4
parentbf67f3a5c456a18f2e8d062f7e88506ef2cd9837
new helper: sigsuspend()

guts of saved_sigmask-based sigsuspend/rt_sigsuspend.  Takes
kernel sigset_t *.

Open-coded instances replaced with calling it.

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
21 files changed:
arch/alpha/kernel/signal.c
arch/arm/kernel/signal.c
arch/cris/arch-v10/kernel/signal.c
arch/cris/arch-v32/kernel/signal.c
arch/frv/kernel/signal.c
arch/m68k/kernel/signal.c
arch/mips/kernel/signal.c
arch/mips/kernel/signal32.c
arch/mips/kernel/signal_n32.c
arch/mn10300/kernel/signal.c
arch/powerpc/kernel/signal_32.c
arch/s390/kernel/signal.c
arch/sh/kernel/signal_32.c
arch/sparc/kernel/signal_32.c
arch/sparc/kernel/signal_64.c
arch/um/kernel/signal.c
arch/x86/ia32/ia32_signal.c
arch/x86/kernel/signal.c
include/linux/signal.h
kernel/compat.c
kernel/signal.c