diff options
author | des <des@FreeBSD.org> | 2003-03-02 16:54:40 +0000 |
---|---|---|
committer | des <des@FreeBSD.org> | 2003-03-02 16:54:40 +0000 |
commit | 2756b6c9641bd9899a346582c191310de25cccc5 (patch) | |
tree | 351747321ab136aa733f670c4c2c235b3639bc1e /sys/dev/si/si.c | |
parent | 3780674329cabab230b12923047c8aa84e4f05fc (diff) | |
download | FreeBSD-src-2756b6c9641bd9899a346582c191310de25cccc5.zip FreeBSD-src-2756b6c9641bd9899a346582c191310de25cccc5.tar.gz |
More low-hanging fruit: kill caddr_t in calls to wakeup(9) / [mt]sleep(9).
Diffstat (limited to 'sys/dev/si/si.c')
-rw-r--r-- | sys/dev/si/si.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/si/si.c b/sys/dev/si/si.c index 84750bc..b96d84f 100644 --- a/sys/dev/si/si.c +++ b/sys/dev/si/si.c @@ -850,7 +850,7 @@ sihardclose(struct si_port *pp) } pp->sp_active_out = FALSE; - wakeup((caddr_t)&pp->sp_active_out); + wakeup(&pp->sp_active_out); wakeup(TSA_CARR_ON(tp)); splx(oldspl); @@ -1416,7 +1416,7 @@ si_write_enable(struct si_port *pp, int state) if (pp->sp_state & SS_WAITWRITE) { pp->sp_state &= ~SS_WAITWRITE; /* thunder away! */ - wakeup((caddr_t)pp); + wakeup(pp); } } else { pp->sp_state |= SS_BLOCKWRITE; |