diff options
| author | Nate Lawson <njl@FreeBSD.org> | 2004-06-30 15:10:02 +0000 |
|---|---|---|
| committer | Nate Lawson <njl@FreeBSD.org> | 2004-06-30 15:10:02 +0000 |
| commit | 346eda4f40d3a8ed2aca166b9403e1ae946f8117 (patch) | |
| tree | 3965c2103d691aaeb0a355cc0422ceb885a812bd /sys/dev/acpica | |
| parent | 743e8e75a5f9776e1608a4c200a44283f51c5fe7 (diff) | |
Notes
Diffstat (limited to 'sys/dev/acpica')
| -rw-r--r-- | sys/dev/acpica/acpi.c | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/sys/dev/acpica/acpi.c b/sys/dev/acpica/acpi.c index b916a7502e262..76a07e97bc7a7 100644 --- a/sys/dev/acpica/acpi.c +++ b/sys/dev/acpica/acpi.c @@ -78,15 +78,14 @@ static struct cdevsw acpi_cdevsw = { .d_name = "acpi", }; -#if __FreeBSD_version >= 500000 +/* Global mutex for locking access to the ACPI subsystem. */ struct mtx acpi_mutex; -#endif /* Bitmap of device quirks. */ -int acpi_quirks; +int acpi_quirks; /* Local pools for managing system resources for ACPI child devices. */ -struct rman acpi_rman_io, acpi_rman_mem; +struct rman acpi_rman_io, acpi_rman_mem; static int acpi_modevent(struct module *mod, int event, void *junk); static void acpi_identify(driver_t *driver, device_t parent); @@ -251,10 +250,8 @@ acpi_Startup(void) return_VALUE (0); started = 1; -#if __FreeBSD_version >= 500000 /* Initialise the ACPI mutex */ mtx_init(&acpi_mutex, "ACPI global lock", NULL, MTX_DEF); -#endif /* * Set the globals from our tunables. This is needed because ACPI-CA |
