svn commit: r216963 - head/sys/i386/xen
Colin Percival
cperciva at FreeBSD.org
Tue Jan 4 16:29:08 UTC 2011
Author: cperciva
Date: Tue Jan 4 16:29:07 2011
New Revision: 216963
URL: http://svn.freebsd.org/changeset/base/216963
Log:
Spell CRITICAL_ASSERT correctly.
Submitted by: jhb
MFC with: r216944
Modified:
head/sys/i386/xen/xen_machdep.c
Modified: head/sys/i386/xen/xen_machdep.c
==============================================================================
--- head/sys/i386/xen/xen_machdep.c Tue Jan 4 16:21:14 2011 (r216962)
+++ head/sys/i386/xen/xen_machdep.c Tue Jan 4 16:29:07 2011 (r216963)
@@ -253,8 +253,7 @@ _xen_flush_queue(void)
#ifdef INVARIANTS
if (__predict_true(gdtset))
- KASSERT(curthread->td_critnest > 0,
- ("xen queue flush should be in a critical section"));
+ CRITICAL_ASSERT(curthread);
#endif
XPQ_IDX = 0;
More information about the svn-src-head
mailing list