summaryrefslogtreecommitdiffstats
path: root/sys/i386/xen
diff options
context:
space:
mode:
authorcperciva <cperciva@FreeBSD.org>2011-01-04 16:29:07 +0000
committercperciva <cperciva@FreeBSD.org>2011-01-04 16:29:07 +0000
commit03a86814e41d8c9f2bdb47134ea43a44a0b3ea56 (patch)
treed336e4f1e9fd481fd43128ad4d60e57728108cdf /sys/i386/xen
parent161c20794a39dc43c4d6a31ff90474ee863feb48 (diff)
downloadFreeBSD-src-03a86814e41d8c9f2bdb47134ea43a44a0b3ea56.zip
FreeBSD-src-03a86814e41d8c9f2bdb47134ea43a44a0b3ea56.tar.gz
Spell CRITICAL_ASSERT correctly.
Submitted by: jhb MFC with: r216944
Diffstat (limited to 'sys/i386/xen')
-rw-r--r--sys/i386/xen/xen_machdep.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/sys/i386/xen/xen_machdep.c b/sys/i386/xen/xen_machdep.c
index 2a3eade..644adf7 100644
--- a/sys/i386/xen/xen_machdep.c
+++ b/sys/i386/xen/xen_machdep.c
@@ -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;
OpenPOWER on IntegriCloud