diff options
author | matk <matk@FreeBSD.org> | 2003-11-27 19:51:44 +0000 |
---|---|---|
committer | matk <matk@FreeBSD.org> | 2003-11-27 19:51:44 +0000 |
commit | 6d505570679bce227a18fbe48191245762f24f5a (patch) | |
tree | 2de4d8577971277bfe99a2d54236932fe1c94547 /sys/dev/sound/pcm/buffer.h | |
parent | aacae28be66e9b41c0be050051772c80b85ab8c1 (diff) | |
download | FreeBSD-src-6d505570679bce227a18fbe48191245762f24f5a.zip FreeBSD-src-6d505570679bce227a18fbe48191245762f24f5a.tar.gz |
Fix a panic due to holding a lock over calls to uiomove.
Pointed out by: Artur Poplawski
Explained by: Don Lewis (truckman)
Approved by: tanimura (mentor)
Approved by: scottl (re)
Diffstat (limited to 'sys/dev/sound/pcm/buffer.h')
-rw-r--r-- | sys/dev/sound/pcm/buffer.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/sys/dev/sound/pcm/buffer.h b/sys/dev/sound/pcm/buffer.h index 2b706e6..31d9e2b 100644 --- a/sys/dev/sound/pcm/buffer.h +++ b/sys/dev/sound/pcm/buffer.h @@ -106,7 +106,6 @@ void sndbuf_updateprevtotal(struct snd_dbuf *b); int sndbuf_acquire(struct snd_dbuf *b, u_int8_t *from, unsigned int count); int sndbuf_dispose(struct snd_dbuf *b, u_int8_t *to, unsigned int count); -int sndbuf_uiomove(struct snd_dbuf *b, struct uio *uio, unsigned int count); int sndbuf_feed(struct snd_dbuf *from, struct snd_dbuf *to, struct pcm_channel *channel, struct pcm_feeder *feeder, unsigned int count); u_int32_t sndbuf_getflags(struct snd_dbuf *b); |