diff options
author | jhb <jhb@FreeBSD.org> | 2000-11-15 22:03:26 +0000 |
---|---|---|
committer | jhb <jhb@FreeBSD.org> | 2000-11-15 22:03:26 +0000 |
commit | 27f47c82c21d5f4b9b46dd11f719195d61c02365 (patch) | |
tree | 05006e97d54c7fa924cabb01c32d29cfdb2fa941 /sys/i386/isa/ithread.c | |
parent | d2a25c57e91fab801c4c251dd3e1fcf3bdcdffe8 (diff) | |
download | FreeBSD-src-27f47c82c21d5f4b9b46dd11f719195d61c02365.zip FreeBSD-src-27f47c82c21d5f4b9b46dd11f719195d61c02365.tar.gz |
Assert that Giant is not owned during the main loop of ithd_loop().
Diffstat (limited to 'sys/i386/isa/ithread.c')
-rw-r--r-- | sys/i386/isa/ithread.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/i386/isa/ithread.c b/sys/i386/isa/ithread.c index 17a91f4..986e41d 100644 --- a/sys/i386/isa/ithread.c +++ b/sys/i386/isa/ithread.c @@ -220,6 +220,7 @@ ithd_loop(void *dummy) * lock. This may take a while and it_need may get * set again, so we have to check it again. */ + mtx_assert(&Giant, MA_NOTOWNED); mtx_enter(&sched_lock, MTX_SPIN); if (!me->it_need) { |