summaryrefslogtreecommitdiffstats
path: root/sys/pc98/cbus/ppc.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/pc98/cbus/ppc.c')
-rw-r--r--sys/pc98/cbus/ppc.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/pc98/cbus/ppc.c b/sys/pc98/cbus/ppc.c
index b285fce..d867934 100644
--- a/sys/pc98/cbus/ppc.c
+++ b/sys/pc98/cbus/ppc.c
@@ -1619,7 +1619,7 @@ ppcintr(void *arg)
ppc->ppc_dmastat = PPC_DMA_COMPLETE;
/* wakeup the waiting process */
- wakeup((caddr_t)ppc);
+ wakeup(ppc);
}
}
} else if (ppc->ppc_irqstat & PPC_IRQ_FIFO) {
@@ -1725,7 +1725,7 @@ ppc_write(device_t dev, char *buf, int len, int how)
*/
do {
/* release CPU */
- error = tsleep((caddr_t)ppc,
+ error = tsleep(ppc,
PPBPRI | PCATCH, "ppcdma", 0);
} while (error == EWOULDBLOCK);
@@ -1757,7 +1757,7 @@ ppc_write(device_t dev, char *buf, int len, int how)
#ifdef PPC_DEBUG
printf("Z");
#endif
- error = tsleep((caddr_t)ppc, PPBPRI | PCATCH, "ppcfifo", hz/100);
+ error = tsleep(ppc, PPBPRI | PCATCH, "ppcfifo", hz/100);
if (error != EWOULDBLOCK) {
#ifdef PPC_DEBUG
printf("I");
OpenPOWER on IntegriCloud