Revert 1.24. It causes a hang on shutdown for Marcel. This is due to

AcpiEnterSleepState() calling a long AcpiOsStall() with interrupts
disabled.  This fix will instead be added to ACPI-CA.

PR:
Submitted by:
Reviewed by:
Approved by:
Obtained from:
MFC after:
This commit is contained in:
Nate Lawson 2003-09-30 19:12:37 +00:00
parent 7ea97b6027
commit ae0781a1cb

View File

@ -262,15 +262,7 @@ AcpiOsStall (UINT32 Microseconds)
{
ACPI_FUNCTION_TRACE((char *)(uintptr_t)__func__);
/*
* Maximum length for stall is 100 us. If longer, assume caller
* really meant "sleep".
*/
if (Microseconds <= 100)
DELAY(Microseconds);
else
AcpiOsSleep(Microseconds / 1000, Microseconds % 1000);
DELAY(Microseconds);
return_VOID;
}