when the MI suspend code encounters problems, we need a way to
authorderaadt <deraadt@openbsd.org>
Tue, 15 Feb 2022 16:54:48 +0000 (16:54 +0000)
committerderaadt <deraadt@openbsd.org>
Tue, 15 Feb 2022 16:54:48 +0000 (16:54 +0000)
commit1f9ba6f47ee0a75ac863e359fd74ac8762e2be7a
treeea866fc6995b4a2097cbca5d3bc7ef1c84cd1bc8
parent5e0eec07f40b6a3684cef20011b7defdc1e81523
when the MI suspend code encounters problems, we need a way to
reset the MD state before bailing out.  New MD function sleep_abort()
does that.
sys/arch/arm64/dev/apm.c
sys/arch/macppc/dev/apm.c
sys/dev/acpi/acpi_x86.c
sys/kern/subr_suspend.c
sys/sys/device.h