Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/usermode/dev Remove the blockage of SIGALRM here too



details:   https://anonhg.NetBSD.org/src/rev/9cb375362771
branches:  trunk
changeset: 769640:9cb375362771
user:      reinoud <reinoud%NetBSD.org@localhost>
date:      Fri Sep 16 16:30:51 2011 +0000

description:
Remove the blockage of SIGALRM here too

diffstat:

 sys/arch/usermode/dev/ld_thunkbus.c |  8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diffs (31 lines):

diff -r ce6340192e83 -r 9cb375362771 sys/arch/usermode/dev/ld_thunkbus.c
--- a/sys/arch/usermode/dev/ld_thunkbus.c       Fri Sep 16 16:30:18 2011 +0000
+++ b/sys/arch/usermode/dev/ld_thunkbus.c       Fri Sep 16 16:30:51 2011 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: ld_thunkbus.c,v 1.15 2011/09/15 19:32:28 reinoud Exp $ */
+/* $NetBSD: ld_thunkbus.c,v 1.16 2011/09/16 16:30:51 reinoud Exp $ */
 
 /*-
  * Copyright (c) 2011 Jared D. McNeill <jmcneill%invisible.ca@localhost>
@@ -27,7 +27,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: ld_thunkbus.c,v 1.15 2011/09/15 19:32:28 reinoud Exp $");
+__KERNEL_RCSID(0, "$NetBSD: ld_thunkbus.c,v 1.16 2011/09/16 16:30:51 reinoud Exp $");
 
 #include <sys/param.h>
 #include <sys/proc.h>
@@ -122,10 +122,10 @@
        sc->sc_ih = softint_establish(SOFTINT_BIO,
            ld_thunkbus_complete, sc);
 
-       sigemptyset(&sa.sa_mask);
        sa.sa_flags = SA_RESTART | SA_SIGINFO;
        sa.sa_sigaction = ld_thunkbus_sig;
-       thunk_sigaddset(&sa.sa_mask, SIGALRM);
+       thunk_sigemptyset(&sa.sa_mask);
+//     thunk_sigaddset(&sa.sa_mask, SIGALRM);
        if (thunk_sigaction(SIGIO, &sa, NULL) == -1)
                panic("couldn't register SIGIO handler: %d", thunk_geterrno());
 



Home | Main Index | Thread Index | Old Index