Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 24 Sep 2009 10:10:45 -0400
From:      John Baldwin <jhb@FreeBSD.org>
To:        acpi@FreeBSD.org
Subject:   Simple patch to acpi_ibm
Message-ID:  <200909241010.45706.jhb@FreeBSD.org>

next in thread | raw e-mail | index | archive | help
Can someone with acpi_ibm(4) test that this patch works ok and removes the LOR 
between acpi_ibm and the sysctl lock on HEAD or 8 with WITNESS enabled?

Index: acpi_ibm.c
===================================================================
--- acpi_ibm.c	(revision 197430)
+++ acpi_ibm.c	(working copy)
@@ -356,8 +356,6 @@
 	}
 	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 @@
 		    "Thermal zones");
 	}
 
-	ACPI_SERIAL_END(ibm);
-
 	/* Handle notifies */
 	AcpiInstallNotifyHandler(sc->handle, ACPI_DEVICE_NOTIFY,
 	    acpi_ibm_notify, dev);


-- 
John Baldwin



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200909241010.45706.jhb>