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;
_______________________________________________
svn-src-head@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to