summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKATO Takenori <kato@FreeBSD.org>2002-03-20 12:28:03 +0000
committerKATO Takenori <kato@FreeBSD.org>2002-03-20 12:28:03 +0000
commit26b2476ba6a43e983ee6eff88452df8da17aae9d (patch)
tree9b80119a7b3eb1029c84420de1d3fdf0e9959119
parent68ee1c91c8bf9298596b81135f48bd2144c5d9c0 (diff)
Notes
-rw-r--r--sys/pc98/pc98/pcaudio.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/sys/pc98/pc98/pcaudio.c b/sys/pc98/pc98/pcaudio.c
index 017f3ed58646..10227284fa84 100644
--- a/sys/pc98/pc98/pcaudio.c
+++ b/sys/pc98/pc98/pcaudio.c
@@ -584,11 +584,8 @@ pcaintr(struct clockframe *frame)
pca_status.buffer = pca_status.buf[pca_status.current];
if (pca_sleep)
wakeup(&pca_sleep);
- if (pca_status.wsel.si_pid) {
- selwakeup((struct selinfo *)&pca_status.wsel.si_pid);
- pca_status.wsel.si_pid = 0;
- pca_status.wsel.si_flags = 0;
- }
+ if (SEL_WAITING(&pca_status.wsel))
+ selwakeup(&pca_status.wsel);
}
}