diff options
author | cg <cg@FreeBSD.org> | 2001-06-23 17:36:51 +0000 |
---|---|---|
committer | cg <cg@FreeBSD.org> | 2001-06-23 17:36:51 +0000 |
commit | f4d67f070515aea9b806739c31a68a83a74664a3 (patch) | |
tree | f4eb53502dd9da5cf589d2fef965f6d9a6c863dc /sys/dev/sound/pcm/sound.c | |
parent | 601ee32495961d995a6be39f850536c07504bc40 (diff) | |
download | FreeBSD-src-f4d67f070515aea9b806739c31a68a83a74664a3.zip FreeBSD-src-f4d67f070515aea9b806739c31a68a83a74664a3.tar.gz |
add defines and ifdefs so this code will compile on 4.x
add spls so this code will work on 4.x
Diffstat (limited to 'sys/dev/sound/pcm/sound.c')
-rw-r--r-- | sys/dev/sound/pcm/sound.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/dev/sound/pcm/sound.c b/sys/dev/sound/pcm/sound.c index baf90e0..fe13d73 100644 --- a/sys/dev/sound/pcm/sound.c +++ b/sys/dev/sound/pcm/sound.c @@ -72,10 +72,12 @@ void snd_mtxassert(void *m) { #ifdef USING_MUTEX +#ifdef INVARIANTS struct mtx *mtx = m; mtx_assert(mtx, MA_OWNED); #endif +#endif } void |