diff options
author | green <green@FreeBSD.org> | 2001-07-02 15:27:28 +0000 |
---|---|---|
committer | green <green@FreeBSD.org> | 2001-07-02 15:27:28 +0000 |
commit | 9243c4f1a8f9d9e3568d0f943ae5147a24e62e46 (patch) | |
tree | 023577fe7d9f79128cbd9ba190280135ebf61495 /sys/dev/sound/isa | |
parent | fd2fcd17ee2995f9eec606ef9b918fe0e766545f (diff) | |
download | FreeBSD-src-9243c4f1a8f9d9e3568d0f943ae5147a24e62e46.zip FreeBSD-src-9243c4f1a8f9d9e3568d0f943ae5147a24e62e46.tar.gz |
Make all this compile on 4.3, modulus sbuf.
Diffstat (limited to 'sys/dev/sound/isa')
-rw-r--r-- | sys/dev/sound/isa/sb16.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/sound/isa/sb16.c b/sys/dev/sound/isa/sb16.c index 1fcceff..c9fdbfc 100644 --- a/sys/dev/sound/isa/sb16.c +++ b/sys/dev/sound/isa/sb16.c @@ -36,8 +36,6 @@ #include <dev/sound/isa/sb.h> #include <dev/sound/chip.h> -#include <sys/mutex.h> - #include "mixer_if.h" #define SB16_BUFFSIZE 4096 @@ -151,8 +149,10 @@ sb_dspwr(struct sb_info *sb, u_char val) return 1; } } +#if __FreeBSD_version > 50000 if (curproc->p_intr_nesting_level == 0) printf("sb_dspwr(0x%02x) timed out.\n", val); +#endif return 0; } |