cvs commit: src/sys/dev/acpica acpi.c acpi_perf.c
Nate Lawson
njl at FreeBSD.org
Sun Mar 27 14:38:30 PST 2005
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
More information about the cvs-src
mailing list