summaryrefslogtreecommitdiff
path: root/usr.sbin/hostctl
diff options
context:
space:
mode:
authorScott Soule Cheloha <cheloha@cvs.openbsd.org>2022-11-08 14:46:52 +0000
committerScott Soule Cheloha <cheloha@cvs.openbsd.org>2022-11-08 14:46:52 +0000
commitea07ebefe4efd98cef68e1179e8a693515001ce6 (patch)
tree4c1f086eb0043ce4153e5850f2c0c4f91d97f70e /usr.sbin/hostctl
parentbd76e51440b14b39baf7af4985e793d45846f645 (diff)
amd64: add delay_fini()
Not all of the clocks with a delay(9) implementation necessarily keep ticking across suspend/resume. We need a clean way to reverse delay_init() during suspend when those clocks stop ticking. Hence, delay_fini(). delay_fini() resets delay_func() to i8254_delay() if the given function pointer is the active delay(9) implementation. ok mlarkin@
Diffstat (limited to 'usr.sbin/hostctl')
0 files changed, 0 insertions, 0 deletions