Date: Fri, 13 Aug 2004 06:22:10 +0000 (UTC) From: Nate Lawson <njl@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/dev/acpica acpi_powerres.c Message-ID: <200408130622.i7D6MA1r071164@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
njl 2004-08-13 06:22:10 UTC
FreeBSD src repository
Modified files:
sys/dev/acpica acpi_powerres.c
Log:
MPSAFE locking
* Serialize acpi_pwr_switch_consumer() and acpi_pwr_wake_enable().
* Make acpi_pwr_switch_consumer() have a single exit point.
* Add assertions to the leaf functions they call.
* Fix a memory leak in acpi_pwr_deregister_consumer(). However, it is
currently ifdefed out so this code was unused.
Revision Changes Path
1.26 +55 -33 src/sys/dev/acpica/acpi_powerres.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200408130622.i7D6MA1r071164>
