diff options
| author | Jeff Roberson <jeff@FreeBSD.org> | 2008-02-07 06:55:38 +0000 |
|---|---|---|
| committer | Jeff Roberson <jeff@FreeBSD.org> | 2008-02-07 06:55:38 +0000 |
| commit | 626ac252ea74b60aa7b79f49b4162d24d4fa122d (patch) | |
| tree | ed48bf7fe407074815ef781b08e0d5087d23a24a /sys/kern/subr_sleepqueue.c | |
| parent | 4a4e9652471a7062f599550e5193a6cf40869089 (diff) | |
Notes
Diffstat (limited to 'sys/kern/subr_sleepqueue.c')
| -rw-r--r-- | sys/kern/subr_sleepqueue.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/kern/subr_sleepqueue.c b/sys/kern/subr_sleepqueue.c index 559278f48bdb..3d3eaad5e95f 100644 --- a/sys/kern/subr_sleepqueue.c +++ b/sys/kern/subr_sleepqueue.c @@ -801,7 +801,7 @@ sleepq_timeout(void *arg) if (TD_IS_SLEEPING(td) && TD_ON_SLEEPQ(td)) { wchan = td->td_wchan; sc = SC_LOOKUP(wchan); - MPASS(td->td_lock == &sc->sc_lock); + THREAD_LOCKPTR_ASSERT(td, &sc->sc_lock); sq = sleepq_lookup(wchan); MPASS(sq != NULL); td->td_flags |= TDF_TIMEOUT; |
