Source-Changes-HG archive

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

[src/trunk]: src/sys/kern Fix previous, use the correct value for softint_est...



details:   https://anonhg.NetBSD.org/src/rev/ead869c2ade0
branches:  trunk
changeset: 791634:ead869c2ade0
user:      rmind <rmind%NetBSD.org@localhost>
date:      Tue Nov 26 21:13:05 2013 +0000

description:
Fix previous, use the correct value for softint_establish (SOFTINT_SERIAL).

diffstat:

 sys/kern/subr_xcall.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r cd6bb5412789 -r ead869c2ade0 sys/kern/subr_xcall.c
--- a/sys/kern/subr_xcall.c     Tue Nov 26 20:48:25 2013 +0000
+++ b/sys/kern/subr_xcall.c     Tue Nov 26 21:13:05 2013 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: subr_xcall.c,v 1.17 2013/11/26 20:29:40 rmind Exp $    */
+/*     $NetBSD: subr_xcall.c,v 1.18 2013/11/26 21:13:05 rmind Exp $    */
 
 /*-
  * Copyright (c) 2007-2010 The NetBSD Foundation, Inc.
@@ -74,7 +74,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: subr_xcall.c,v 1.17 2013/11/26 20:29:40 rmind Exp $");
+__KERNEL_RCSID(0, "$NetBSD: subr_xcall.c,v 1.18 2013/11/26 21:13:05 rmind Exp $");
 
 #include <sys/types.h>
 #include <sys/param.h>
@@ -139,7 +139,7 @@
        memset(xchi, 0, sizeof(xc_state_t));
        mutex_init(&xchi->xc_lock, MUTEX_DEFAULT, IPL_SOFTSERIAL);
        cv_init(&xchi->xc_busy, "xchicv");
-       xc_sih = softint_establish(IPL_SOFTSERIAL | SOFTINT_MPSAFE,
+       xc_sih = softint_establish(SOFTINT_SERIAL | SOFTINT_MPSAFE,
            xc__highpri_intr, NULL);
        KASSERT(xc_sih != NULL);
 



Home | Main Index | Thread Index | Old Index