remove stall while waiting for resumption from S1

date	2001.11.05.19.11.00;	author agrover;	state Exp;
This commit is contained in:
aystarik 2005-06-29 16:57:24 +00:00
parent 543c7091e5
commit 26e95c8273

View File

@ -2,7 +2,7 @@
/******************************************************************************
*
* Name: hwsleep.c - ACPI Hardware Sleep/Wake Interface
* $Revision: 1.23 $
* $Revision: 1.24 $
*
*****************************************************************************/
@ -318,11 +318,8 @@ AcpiEnterSleepState (
/* wait until we enter sleep state */
do
{
AcpiOsStall(10000);
}
while (!AcpiHwRegisterBitAccess (ACPI_READ, ACPI_MTX_LOCK, WAK_STS));
while (!AcpiHwRegisterBitAccess (ACPI_READ, ACPI_MTX_LOCK, WAK_STS))
{ /* spin until we wake */ }
AcpiHwEnableNonWakeupGpes();