summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--arch/um/os-Linux/signal.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/arch/um/os-Linux/signal.c b/arch/um/os-Linux/signal.c
index 75b10235d369..35d1b2bc00cb 100644
--- a/arch/um/os-Linux/signal.c
+++ b/arch/um/os-Linux/signal.c
@@ -26,7 +26,6 @@ void (*sig_info[NSIG])(int, struct siginfo *, struct uml_pt_regs *) = {
26 [SIGBUS] = bus_handler, 26 [SIGBUS] = bus_handler,
27 [SIGSEGV] = segv_handler, 27 [SIGSEGV] = segv_handler,
28 [SIGIO] = sigio_handler, 28 [SIGIO] = sigio_handler,
29 [SIGALRM] = timer_handler
30}; 29};
31 30
32static void sig_handler_common(int sig, struct siginfo *si, mcontext_t *mc) 31static void sig_handler_common(int sig, struct siginfo *si, mcontext_t *mc)
@@ -42,7 +41,7 @@ static void sig_handler_common(int sig, struct siginfo *si, mcontext_t *mc)
42 } 41 }
43 42
44 /* enable signals if sig isn't IRQ signal */ 43 /* enable signals if sig isn't IRQ signal */
45 if ((sig != SIGIO) && (sig != SIGWINCH) && (sig != SIGALRM)) 44 if ((sig != SIGIO) && (sig != SIGWINCH))
46 unblock_signals(); 45 unblock_signals();
47 46
48 (*sig_info[sig])(sig, si, &r); 47 (*sig_info[sig])(sig, si, &r);