diff options
author | nyan <nyan@FreeBSD.org> | 2001-09-15 15:33:28 +0000 |
---|---|---|
committer | nyan <nyan@FreeBSD.org> | 2001-09-15 15:33:28 +0000 |
commit | 664c8246d0d48b81b2725d190c1903ce077f2b9c (patch) | |
tree | de06504c15e94c5f32c1fb000a60c654f17c790c | |
parent | 0593e3e8a07f919d1b3b12ffd53d2a2ad2cdafbe (diff) | |
download | FreeBSD-src-664c8246d0d48b81b2725d190c1903ce077f2b9c.zip FreeBSD-src-664c8246d0d48b81b2725d190c1903ce077f2b9c.tar.gz |
Merged from sys/i386/apm/apm.c revision 1.123 (KSE changes).
-rw-r--r-- | sys/pc98/apm/apm.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/sys/pc98/apm/apm.c b/sys/pc98/apm/apm.c index cb690b1..0ad8df5 100644 --- a/sys/pc98/apm/apm.c +++ b/sys/pc98/apm/apm.c @@ -1163,7 +1163,7 @@ apm_attach(device_t dev) } static int -apmopen(dev_t dev, int flag, int fmt, struct proc *p) +apmopen(dev_t dev, int flag, int fmt, struct thread *td) { struct apm_softc *sc = &apm_softc; int ctl = APMDEV(dev); @@ -1191,7 +1191,7 @@ apmopen(dev_t dev, int flag, int fmt, struct proc *p) } static int -apmclose(dev_t dev, int flag, int fmt, struct proc *p) +apmclose(dev_t dev, int flag, int fmt, struct thread *td) { struct apm_softc *sc = &apm_softc; int ctl = APMDEV(dev); @@ -1214,7 +1214,7 @@ apmclose(dev_t dev, int flag, int fmt, struct proc *p) } static int -apmioctl(dev_t dev, u_long cmd, caddr_t addr, int flag, struct proc *p) +apmioctl(dev_t dev, u_long cmd, caddr_t addr, int flag, struct thread *td) { struct apm_softc *sc = &apm_softc; struct apm_bios_arg *args; @@ -1398,7 +1398,7 @@ apmwrite(dev_t dev, struct uio *uio, int ioflag) } static int -apmpoll(dev_t dev, int events, struct proc *p) +apmpoll(dev_t dev, int events, struct thread *td) { struct apm_softc *sc = &apm_softc; int revents = 0; @@ -1407,7 +1407,7 @@ apmpoll(dev_t dev, int events, struct proc *p) if (sc->event_count) { revents |= events & (POLLIN | POLLRDNORM); } else { - selrecord(p, &sc->sc_rsel); + selrecord(td, &sc->sc_rsel); } } |