mirror of
https://github.com/freebsd/freebsd-src
synced 2024-10-19 06:44:31 +00:00
Since the interpreter slack mode is a tunable now, enable a local hack only
when it is set. Note the default behaviour does not change by this change.
This commit is contained in:
parent
e0999e592b
commit
24081291d2
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=204920
|
@ -474,13 +474,16 @@ AcpiEnterSleepState (
|
|||
return_ACPI_STATUS (Status);
|
||||
}
|
||||
|
||||
/*
|
||||
* Some BIOSs don't set WAK_STS at all. Give up waiting after
|
||||
* 1000 retries if it still isn't set.
|
||||
*/
|
||||
if (Retry-- == 0)
|
||||
if (AcpiGbl_EnableInterpreterSlack)
|
||||
{
|
||||
break;
|
||||
/*
|
||||
* Some BIOSs don't set WAK_STS at all. Give up waiting after
|
||||
* 1000 retries if it still isn't set.
|
||||
*/
|
||||
if (Retry-- == 0)
|
||||
{
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
/* Spin until we wake */
|
||||
|
|
Loading…
Reference in a new issue