Date: Sun, 27 Mar 2005 22:38:28 +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.c acpi_perf.c Message-ID: <200503272238.j2RMcTRH082307@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
njl 2005-03-27 22:38:28 UTC
FreeBSD src repository
Modified files:
sys/dev/acpica acpi.c acpi_perf.c
Log:
Clean up resources properly if acpi_perf fails to attach. First, change
acpi_bus_alloc_gas() to delete the resource it set if alloc fails. Then,
change acpi_perf to delete the resource after releasing it if alloc fails.
This should make probe and attach both fully restartable if either fails.
Revision Changes Path
1.209 +3 -7 src/sys/dev/acpica/acpi.c
1.18 +17 -1 src/sys/dev/acpica/acpi_perf.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200503272238.j2RMcTRH082307>
