um: simplify set_handler()
authorAl Viro <viro@ftp.linux.org.uk>
Thu, 18 Aug 2011 19:04:29 +0000 (20:04 +0100)
committerRichard Weinberger <richard@nod.at>
Wed, 2 Nov 2011 13:14:56 +0000 (14:14 +0100)
commite87df986ed053d25dbd57b8b137edec5022874f8
tree93a955eb7136ddfb30f9a1c99038976729823af4
parentd5c7e8b4ec4795ed0b8943cad8f87801fde371d7
um: simplify set_handler()

For one thing, we always block the same signals (IRQ ones - IO, WINCH, VTALRM),
so there's no need to pass sa_mask elements in arguments.  For another, the
flags depend only on whether it's an IRQ signal or not (we add SA_RESTART
for them).

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Richard Weinberger <richard@nod.at>
arch/um/include/shared/os.h
arch/um/os-Linux/process.c
arch/um/os-Linux/signal.c
arch/um/os-Linux/skas/process.c