Module Name: src Committed By: yamt Date: Fri Feb 25 22:37:12 UTC 2011
Modified Files: src/sys/sys: userret.h Log Message: mi_userret: disable an assertion for __HAVE_PREEMPTION case as it's racy. To generate a diff of this commit: cvs rdiff -u -r1.21 -r1.22 src/sys/sys/userret.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/sys/sys/userret.h diff -u src/sys/sys/userret.h:1.21 src/sys/sys/userret.h:1.22 --- src/sys/sys/userret.h:1.21 Thu Feb 17 19:29:41 2011 +++ src/sys/sys/userret.h Fri Feb 25 22:37:12 2011 @@ -1,4 +1,4 @@ -/* $NetBSD: userret.h,v 1.21 2011/02/17 19:29:41 matt Exp $ */ +/* $NetBSD: userret.h,v 1.22 2011/02/25 22:37:12 yamt Exp $ */ /*- * Copyright (c) 1998, 2000, 2003, 2006, 2008 The NetBSD Foundation, Inc. @@ -81,7 +81,9 @@ #endif KASSERT(l->l_blcnt == 0); +#ifndef __HAVE_PREEMPTION KASSERT(curcpu()->ci_biglock_count == 0); +#endif /* * Handle "exceptional" events: pending signals, stop/exit actions,