From: deraadt Date: Sun, 11 Aug 2024 05:21:52 +0000 (+0000) Subject: put ACPI_SST_WAKING in gosleep() where kettenis asked for X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=842d3d5fa346980ad2de33c3cb461728221b4a4f;p=openbsd put ACPI_SST_WAKING in gosleep() where kettenis asked for --- diff --git a/sys/dev/acpi/acpi_x86.c b/sys/dev/acpi/acpi_x86.c index 0262e2f69cb..7145743dba9 100644 --- a/sys/dev/acpi/acpi_x86.c +++ b/sys/dev/acpi/acpi_x86.c @@ -1,4 +1,4 @@ -/* $OpenBSD: acpi_x86.c,v 1.26 2024/08/10 23:28:17 deraadt Exp $ */ +/* $OpenBSD: acpi_x86.c,v 1.27 2024/08/11 05:21:52 deraadt Exp $ */ /* * Copyright (c) 2005 Thorsten Lockert * Copyright (c) 2005 Jordan Hargrave @@ -123,11 +123,10 @@ gosleep(void *v) sc->sc_wakeup = 1; } - acpi_indicator(sc, ACPI_SST_WAKING); /* blink */ - if (sc->sc_pmc_resume) sc->sc_pmc_resume(sc->sc_pmc_cookie); + acpi_indicator(sc, ACPI_SST_WAKING); /* blink */ return ret; }