summaryrefslogtreecommitdiffstats
path: root/sys/dev/acpica
diff options
context:
space:
mode:
authornjl <njl@FreeBSD.org>2004-06-30 15:10:02 +0000
committernjl <njl@FreeBSD.org>2004-06-30 15:10:02 +0000
commit0d2007fe4f9210e8fe7692c777109824a82c99e3 (patch)
tree3965c2103d691aaeb0a355cc0422ceb885a812bd /sys/dev/acpica
parentb5563d0851d4ec8929ecca588ca8969c951adb95 (diff)
downloadFreeBSD-src-0d2007fe4f9210e8fe7692c777109824a82c99e3.zip
FreeBSD-src-0d2007fe4f9210e8fe7692c777109824a82c99e3.tar.gz
Diff reduction for style.
Diffstat (limited to 'sys/dev/acpica')
-rw-r--r--sys/dev/acpica/acpi.c9
1 files changed, 3 insertions, 6 deletions
diff --git a/sys/dev/acpica/acpi.c b/sys/dev/acpica/acpi.c
index b916a75..76a07e9 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
OpenPOWER on IntegriCloud