diff options
author | Mathew Kanner <matk@FreeBSD.org> | 2003-11-27 19:51:44 +0000 |
---|---|---|
committer | Mathew Kanner <matk@FreeBSD.org> | 2003-11-27 19:51:44 +0000 |
commit | 8e2d74a4866fd497540daa1713ab98ab7f8e1dce (patch) | |
tree | 2de4d8577971277bfe99a2d54236932fe1c94547 /sys/dev/sound/pcm/buffer.h | |
parent | a0598a8716fa160038cb407e6dbefcc997843749 (diff) | |
download | src-8e2d74a4866fd497540daa1713ab98ab7f8e1dce.tar.gz src-8e2d74a4866fd497540daa1713ab98ab7f8e1dce.zip |
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)
Notes
Notes:
svn path=/head/; revision=123013
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 2b706e6b34ac..31d9e2ba45d7 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); |