cvs commit: src/sys/dev/acpica acpi_powerres.c
Nate Lawson
njl at FreeBSD.org
Thu Aug 12 23:22:11 PDT 2004
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
More information about the cvs-src
mailing list