summaryrefslogtreecommitdiffstats
path: root/sys/i386/acpica
diff options
context:
space:
mode:
authorjhb <jhb@FreeBSD.org>2002-10-09 20:39:26 +0000
committerjhb <jhb@FreeBSD.org>2002-10-09 20:39:26 +0000
commitc7f1a97230ee2fe689731659b3cff71addd6d7dc (patch)
treed648e77eb761d7cb359d008fd0b1232c37ac423d /sys/i386/acpica
parent405e3dcfbfaa839a647dccc145713fd5a9d9d4f6 (diff)
downloadFreeBSD-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/i386/acpica')
-rw-r--r--sys/i386/acpica/acpi_machdep.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/i386/acpica/acpi_machdep.c b/sys/i386/acpica/acpi_machdep.c
index f6771e5..dc03e98 100644
--- a/sys/i386/acpica/acpi_machdep.c
+++ b/sys/i386/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);
}
OpenPOWER on IntegriCloud