Global lock is now optional

date	2001.03.02.17.45.00;	author rmoore1;	state Exp;
This commit is contained in:
aystarik 2005-06-29 17:59:22 +00:00
parent 27f80cbb39
commit 23c2d07707

View File

@ -2,7 +2,7 @@
/******************************************************************************
*
* Module Name: amutils - interpreter/scanner utilities
* $Revision: 1.69 $
* $Revision: 1.71 $
*
*****************************************************************************/
@ -128,7 +128,6 @@
MODULE_NAME ("amutils")
/*******************************************************************************
*
* FUNCTION: AcpiAmlEnterInterpreter
@ -277,19 +276,21 @@ AcpiAmlAcquireGlobalLock (
FUNCTION_TRACE ("AmlAcquireGlobalLock");
/* Only attempt lock if the Rule says so */
/* Only attempt lock if the Rule says so */
if (Rule == (UINT32) GLOCK_ALWAYS_LOCK)
{
/* OK to get the lock */
/* We should attempt to get the lock */
Status = AcpiEvAcquireGlobalLock ();
if (ACPI_FAILURE (Status))
{
DEBUG_PRINT (ACPI_ERROR, ("Get Global Lock Failed!!\n"));
DEBUG_PRINT (ACPI_ERROR,
("Could not acquire Global Lock, %s\n",
AcpiCmFormatException (Status)));
}
if (ACPI_SUCCESS (Status))
else
{
AcpiGbl_GlobalLockSet = TRUE;
Locked = TRUE;
@ -490,7 +491,3 @@ AcpiAmlUnsignedIntegerToString (
}