summaryrefslogtreecommitdiffstats
path: root/arch/um/os-Linux/signal.c
diff options
context:
space:
mode:
authorAl Viro <viro@ftp.linux.org.uk>2011-08-18 21:04:19 +0200
committerRichard Weinberger <richard@nod.at>2011-11-02 14:14:55 +0100
commitd5c7e8b4ec4795ed0b8943cad8f87801fde371d7 (patch)
tree129e234c88d0297caecdb49f285a053babaa94b3 /arch/um/os-Linux/signal.c
parentum: switch stub_segv_handler to SA_SIGINFO variant, get rid of magic crap in ... (diff)
downloadlinux-d5c7e8b4ec4795ed0b8943cad8f87801fde371d7.tar.xz
linux-d5c7e8b4ec4795ed0b8943cad8f87801fde371d7.zip
um: don't bother blocking SIGARLM and SIGUSR1
We used to generate those, but we hadn't done that for a long time. No need to bother blocking them for signal handlers. Signed-off-by: Al Viro <viro@zeniv.linux.org.uk> Signed-off-by: Richard Weinberger <richard@nod.at>
Diffstat (limited to 'arch/um/os-Linux/signal.c')
-rw-r--r--arch/um/os-Linux/signal.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/um/os-Linux/signal.c b/arch/um/os-Linux/signal.c
index 2dde9f6d6c0f..75c3e9c9cabb 100644
--- a/arch/um/os-Linux/signal.c
+++ b/arch/um/os-Linux/signal.c
@@ -112,7 +112,7 @@ void alarm_handler(int sig, struct sigcontext *sc)
void timer_init(void)
{
set_handler(SIGVTALRM, (__sighandler_t) alarm_handler,
- SA_ONSTACK | SA_RESTART, SIGUSR1, SIGIO, SIGWINCH, -1);
+ SA_ONSTACK | SA_RESTART, SIGIO, SIGWINCH, -1);
}
void set_sigstack(void *sig_stack, int size)