Module Name: src Committed By: rmind Date: Tue Nov 26 21:13:05 UTC 2013
Modified Files: src/sys/kern: subr_xcall.c Log Message: Fix previous, use the correct value for softint_establish (SOFTINT_SERIAL). To generate a diff of this commit: cvs rdiff -u -r1.17 -r1.18 src/sys/kern/subr_xcall.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/sys/kern/subr_xcall.c diff -u src/sys/kern/subr_xcall.c:1.17 src/sys/kern/subr_xcall.c:1.18 --- src/sys/kern/subr_xcall.c:1.17 Tue Nov 26 20:29:40 2013 +++ src/sys/kern/subr_xcall.c Tue Nov 26 21:13:05 2013 @@ -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 @@ xc_init(void) 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);