summaryrefslogtreecommitdiffstats
path: root/sys/dev/acpi_support
diff options
context:
space:
mode:
authorjhb <jhb@FreeBSD.org>2009-09-24 16:51:56 +0000
committerjhb <jhb@FreeBSD.org>2009-09-24 16:51:56 +0000
commit5744bc1d8cb14c4bb78a86e8e8297a3b8030fa6c (patch)
tree608273c0ea2b00c0e6ea1c49d705e7118d717e88 /sys/dev/acpi_support
parent3614d057859400f30496da9d21f728b52bfaea70 (diff)
downloadFreeBSD-src-5744bc1d8cb14c4bb78a86e8e8297a3b8030fa6c.zip
FreeBSD-src-5744bc1d8cb14c4bb78a86e8e8297a3b8030fa6c.tar.gz
Remove unnecessary locking from attach(). This fixes a LOR between the
acpi_ibm lock and the sysctl lock. MFC after: 3 days
Diffstat (limited to 'sys/dev/acpi_support')
-rw-r--r--sys/dev/acpi_support/acpi_ibm.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/sys/dev/acpi_support/acpi_ibm.c b/sys/dev/acpi_support/acpi_ibm.c
index 072c574..25db9b0 100644
--- a/sys/dev/acpi_support/acpi_ibm.c
+++ b/sys/dev/acpi_support/acpi_ibm.c
@@ -356,8 +356,6 @@ acpi_ibm_attach(device_t dev)
}
sc->ec_handle = acpi_get_handle(sc->ec_dev);
- ACPI_SERIAL_BEGIN(ibm);
-
/* Get the sysctl tree */
sc->sysctl_ctx = device_get_sysctl_ctx(dev);
sc->sysctl_tree = device_get_sysctl_tree(dev);
@@ -404,8 +402,6 @@ acpi_ibm_attach(device_t dev)
"Thermal zones");
}
- ACPI_SERIAL_END(ibm);
-
/* Handle notifies */
AcpiInstallNotifyHandler(sc->handle, ACPI_DEVICE_NOTIFY,
acpi_ibm_notify, dev);
OpenPOWER on IntegriCloud