Date: Fri, 13 Aug 2004 06:21:41 +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_battery.c Message-ID: <200408130621.i7D6Lf0w070888@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
njl 2004-08-13 06:21:41 UTC
FreeBSD src repository
Modified files:
sys/dev/acpica acpi_battery.c
Log:
MPSAFE locking
* Serialize acpi_battery_get_battdesc(), acpi_battery_register(), and
acpi_battery_remove().
* Assert that the sx lock is held in acpi_batteries_init().
* Remove check for device_get_softc() returning NULL.
Revision Changes Path
1.10 +53 -36 src/sys/dev/acpica/acpi_battery.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200408130621.i7D6Lf0w070888>
