CVSROOT:        /cvs
Module name:    src
Changes by:     dera...@cvs.openbsd.org 2010/07/06 14:14:17

Modified files:
        sys/dev/acpi   : acpi.c acpibtn.c acpithinkpad.c acpivar.h 

Log message:
Don't use a workq to do the suspend, because it races aginst the acpi
thread.  Instead, just tell the acpi thread to do the suspend for us.
This makes apmd & zzz work correctly.  While here, have acpithinkpad
attempt to post the event to apm before prompting the suspend itself.
ok kettenis marco mlarkin

Reply via email to