diff options
author | imp <imp@FreeBSD.org> | 2009-05-20 16:47:40 +0000 |
---|---|---|
committer | imp <imp@FreeBSD.org> | 2009-05-20 16:47:40 +0000 |
commit | c67e70f98933d46edd0491ffa44939bf30ce89ce (patch) | |
tree | c429413e12d4168d6e2c3f939fdc5708d92e2499 /sys/i386/acpica | |
parent | bc7a5156495a3f9d52f234833c8b80965e0ddd80 (diff) | |
download | FreeBSD-src-c67e70f98933d46edd0491ffa44939bf30ce89ce.zip FreeBSD-src-c67e70f98933d46edd0491ffa44939bf30ce89ce.tar.gz |
We don't need d_thread_t for cross-branch portability here anymore.
Move do struct thread * instead.
Diffstat (limited to 'sys/i386/acpica')
-rw-r--r-- | sys/i386/acpica/acpi_machdep.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/i386/acpica/acpi_machdep.c b/sys/i386/acpica/acpi_machdep.c index 8d130fb..4d31b44 100644 --- a/sys/i386/acpica/acpi_machdep.c +++ b/sys/i386/acpica/acpi_machdep.c @@ -277,7 +277,7 @@ apm_create_clone(struct cdev *dev, struct acpi_softc *acpi_sc) } static int -apmopen(struct cdev *dev, int flag, int fmt, d_thread_t *td) +apmopen(struct cdev *dev, int flag, int fmt, struct thread *td) { struct acpi_softc *acpi_sc; struct apm_clone_data *clone; @@ -294,7 +294,7 @@ apmopen(struct cdev *dev, int flag, int fmt, d_thread_t *td) } static int -apmclose(struct cdev *dev, int flag, int fmt, d_thread_t *td) +apmclose(struct cdev *dev, int flag, int fmt, struct thread *td) { struct apm_clone_data *clone; struct acpi_softc *acpi_sc; @@ -318,7 +318,7 @@ apmclose(struct cdev *dev, int flag, int fmt, d_thread_t *td) } static int -apmioctl(struct cdev *dev, u_long cmd, caddr_t addr, int flag, d_thread_t *td) +apmioctl(struct cdev *dev, u_long cmd, caddr_t addr, int flag, struct thread *td) { int error; struct apm_clone_data *clone; @@ -436,7 +436,7 @@ apmwrite(struct cdev *dev, struct uio *uio, int ioflag) } static int -apmpoll(struct cdev *dev, int events, d_thread_t *td) +apmpoll(struct cdev *dev, int events, struct thread *td) { struct apm_clone_data *clone; int revents; |