Module Name: src Committed By: rmind Date: Sun Apr 7 00:31:40 UTC 2013
Modified Files: src/sys/kern: subr_xcall.c Log Message: xc_highpri: fix assert. To generate a diff of this commit: cvs rdiff -u -r1.14 -r1.15 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.14 src/sys/kern/subr_xcall.c:1.15 --- src/sys/kern/subr_xcall.c:1.14 Tue Feb 19 11:20:17 2013 +++ src/sys/kern/subr_xcall.c Sun Apr 7 00:31:40 2013 @@ -1,4 +1,4 @@ -/* $NetBSD: subr_xcall.c,v 1.14 2013/02/19 11:20:17 martin Exp $ */ +/* $NetBSD: subr_xcall.c,v 1.15 2013/04/07 00:31:40 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.14 2013/02/19 11:20:17 martin Exp $"); +__KERNEL_RCSID(0, "$NetBSD: subr_xcall.c,v 1.15 2013/04/07 00:31:40 rmind Exp $"); #include <sys/types.h> #include <sys/param.h> @@ -417,7 +417,7 @@ xc_highpri(xcfunc_t func, void *arg1, vo } kpreempt_enable(); #else - KASSERT(curcpu() == ci); + KASSERT(ci == NULL || curcpu() == ci); xc_ipi_handler(); #endif #endif