summaryrefslogtreecommitdiffstats
path: root/sys/dev/sound/pcm/sound.c
diff options
context:
space:
mode:
authorcg <cg@FreeBSD.org>2001-06-23 17:36:51 +0000
committercg <cg@FreeBSD.org>2001-06-23 17:36:51 +0000
commitf4d67f070515aea9b806739c31a68a83a74664a3 (patch)
treef4eb53502dd9da5cf589d2fef965f6d9a6c863dc /sys/dev/sound/pcm/sound.c
parent601ee32495961d995a6be39f850536c07504bc40 (diff)
downloadFreeBSD-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.c2
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
OpenPOWER on IntegriCloud