|
@@ -249,7 +249,10 @@ void init_new_thread_signals(void)
|
|
SIGUSR1, SIGIO, SIGWINCH, SIGVTALRM, -1);
|
|
SIGUSR1, SIGIO, SIGWINCH, SIGVTALRM, -1);
|
|
signal(SIGHUP, SIG_IGN);
|
|
signal(SIGHUP, SIG_IGN);
|
|
|
|
|
|
- init_irq_signals(1);
|
|
|
|
|
|
+ set_handler(SIGIO, (__sighandler_t) sig_handler,
|
|
|
|
+ SA_ONSTACK | SA_RESTART, SIGUSR1, SIGIO, SIGWINCH, SIGALRM,
|
|
|
|
+ SIGVTALRM, -1);
|
|
|
|
+ signal(SIGWINCH, SIG_IGN);
|
|
}
|
|
}
|
|
|
|
|
|
int run_kernel_thread(int (*fn)(void *), void *arg, jmp_buf **jmp_ptr)
|
|
int run_kernel_thread(int (*fn)(void *), void *arg, jmp_buf **jmp_ptr)
|