aboutsummaryrefslogtreecommitdiff
path: root/sys/i386/isa/spic.c
diff options
context:
space:
mode:
authorDag-Erling Smørgrav <des@FreeBSD.org>2003-03-02 16:54:40 +0000
committerDag-Erling Smørgrav <des@FreeBSD.org>2003-03-02 16:54:40 +0000
commit521f364b804158f257fdd8ad7cbf368a0efe5a44 (patch)
tree351747321ab136aa733f670c4c2c235b3639bc1e /sys/i386/isa/spic.c
parent715b1e0ab00116f80903f29c1c794097b1dd7374 (diff)
downloadsrc-521f364b804158f257fdd8ad7cbf368a0efe5a44.tar.gz
src-521f364b804158f257fdd8ad7cbf368a0efe5a44.zip
More low-hanging fruit: kill caddr_t in calls to wakeup(9) / [mt]sleep(9).
Notes
Notes: svn path=/head/; revision=111748
Diffstat (limited to 'sys/i386/isa/spic.c')
-rw-r--r--sys/i386/isa/spic.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/i386/isa/spic.c b/sys/i386/isa/spic.c
index ce5b2dddd204..6bc5ac488c41 100644
--- a/sys/i386/isa/spic.c
+++ b/sys/i386/isa/spic.c
@@ -436,7 +436,7 @@ spictimeout(void *arg)
if (sc->sc_count) {
if (sc->sc_sleeping) {
sc->sc_sleeping = 0;
- wakeup((caddr_t) sc);
+ wakeup( sc);
}
selwakeup(&sc->sc_rsel);
}
@@ -491,7 +491,7 @@ spicread(dev_t dev, struct uio *uio, int flag)
s = spltty();
while (!(sc->sc_count)) {
sc->sc_sleeping=1;
- error = tsleep((caddr_t) sc, PZERO | PCATCH, "jogrea", 0);
+ error = tsleep( sc, PZERO | PCATCH, "jogrea", 0);
sc->sc_sleeping=0;
if (error) {
splx(s);