For DVACT_RESUME, let the children know we are ready *after* calling
authorderaadt <deraadt@openbsd.org>
Sun, 18 Aug 2024 15:03:01 +0000 (15:03 +0000)
committerderaadt <deraadt@openbsd.org>
Sun, 18 Aug 2024 15:03:01 +0000 (15:03 +0000)
commit9286d81dd19d966f0d757d7321c0adb6a104fc20
tree5463e0230dbf1c5653921109eedc615c86a28912
parent917cb6cdf98b8438dec607a3ca871477fbec23ef
For DVACT_RESUME, let the children know we are ready *after* calling
our own wakeup().  The wakeup() won't result in anything running now
because DVACT_RESUME is running in "cold !=0, interrupts blocked,
scheduler stopped", but it is idiomatically incorrect to inform your
children you are ready before you are ready.
sys/dev/sdmmc/sdmmc.c