diff options
author | matk <matk@FreeBSD.org> | 2004-02-20 01:24:57 +0000 |
---|---|---|
committer | matk <matk@FreeBSD.org> | 2004-02-20 01:24:57 +0000 |
commit | 6562bf3d4252620d282e9c4abe2ce3f4dd4ad38c (patch) | |
tree | d44823e37e0ed4e22db33b9096a5ffed28ec6a59 /sys/dev | |
parent | f2c24e9bc6129bcc7bfe834154b900536871ae22 (diff) | |
download | FreeBSD-src-6562bf3d4252620d282e9c4abe2ce3f4dd4ad38c.zip FreeBSD-src-6562bf3d4252620d282e9c4abe2ce3f4dd4ad38c.tar.gz |
Fix a glitch in my last commit and revert to using selwakeuppri
Noticed by: tanimura
Noticed by: truckman
Diffstat (limited to 'sys/dev')
-rw-r--r-- | sys/dev/sound/pcm/channel.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/sound/pcm/channel.c b/sys/dev/sound/pcm/channel.c index baf34fd..4a18b52 100644 --- a/sys/dev/sound/pcm/channel.c +++ b/sys/dev/sound/pcm/channel.c @@ -121,7 +121,7 @@ chn_wakeup(struct pcm_channel *c) CHN_LOCKASSERT(c); if (SLIST_EMPTY(&c->children)) { if (SEL_WAITING(sndbuf_getsel(bs)) && chn_polltrigger(c)) - selwakeup(sndbuf_getsel(bs)); + selwakeuppri(sndbuf_getsel(bs), PRIBIO); } else { SLIST_FOREACH(pce, &c->children, link) { CHN_LOCK(pce->channel); |