diff options
author | jhb <jhb@FreeBSD.org> | 2002-10-09 20:39:26 +0000 |
---|---|---|
committer | jhb <jhb@FreeBSD.org> | 2002-10-09 20:39:26 +0000 |
commit | c7f1a97230ee2fe689731659b3cff71addd6d7dc (patch) | |
tree | d648e77eb761d7cb359d008fd0b1232c37ac423d /sys/amd64 | |
parent | 405e3dcfbfaa839a647dccc145713fd5a9d9d4f6 (diff) | |
download | FreeBSD-src-c7f1a97230ee2fe689731659b3cff71addd6d7dc.zip FreeBSD-src-c7f1a97230ee2fe689731659b3cff71addd6d7dc.tar.gz |
Use d_thread_t for cdevsw functions instead of struct thread * so that it
is easier to share this code with 4-stable.
Diffstat (limited to 'sys/amd64')
-rw-r--r-- | sys/amd64/acpica/acpi_machdep.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/amd64/acpica/acpi_machdep.c b/sys/amd64/acpica/acpi_machdep.c index f6771e5..dc03e98 100644 --- a/sys/amd64/acpica/acpi_machdep.c +++ b/sys/amd64/acpica/acpi_machdep.c @@ -194,19 +194,19 @@ acpi_capm_get_pwstatus(apm_pwstatus_t app) } static int -apmopen(dev_t dev, int flag, int fmt, struct thread *td) +apmopen(dev_t dev, int flag, int fmt, d_thread_t *td) { return (0); } static int -apmclose(dev_t dev, int flag, int fmt, struct thread *td) +apmclose(dev_t dev, int flag, int fmt, d_thread_t *td) { return (0); } static int -apmioctl(dev_t dev, u_long cmd, caddr_t addr, int flag, struct thread *td) +apmioctl(dev_t dev, u_long cmd, caddr_t addr, int flag, d_thread_t *td) { int error = 0; struct acpi_softc *acpi_sc; @@ -304,7 +304,7 @@ apmwrite(dev_t dev, struct uio *uio, int ioflag) } static int -apmpoll(dev_t dev, int events, struct thread *td) +apmpoll(dev_t dev, int events, d_thread_t *td) { return (0); } |