Temporary fix for warning, until we have a better fix from upstrea,.
This commit is contained in:
@@ -257,7 +257,7 @@ AcpiUtDeleteInternalObj (
|
||||
/* Global Lock has extra semaphore */
|
||||
|
||||
(void) AcpiOsDeleteSemaphore (AcpiGbl_GlobalLockSemaphore);
|
||||
AcpiGbl_GlobalLockSemaphore = NULL;
|
||||
AcpiGbl_GlobalLockSemaphore = -1;
|
||||
|
||||
AcpiOsDeleteMutex (Object->Mutex.OsMutex);
|
||||
AcpiGbl_GlobalLockMutex = NULL;
|
||||
@@ -276,7 +276,7 @@ AcpiUtDeleteInternalObj (
|
||||
Object, Object->Event.OsSemaphore));
|
||||
|
||||
(void) AcpiOsDeleteSemaphore (Object->Event.OsSemaphore);
|
||||
Object->Event.OsSemaphore = NULL;
|
||||
Object->Event.OsSemaphore = -1;
|
||||
break;
|
||||
|
||||
case ACPI_TYPE_METHOD:
|
||||
|
||||
@@ -280,7 +280,7 @@ AcpiUtInitGlobals (
|
||||
|
||||
/* Global Lock support */
|
||||
|
||||
AcpiGbl_GlobalLockSemaphore = NULL;
|
||||
AcpiGbl_GlobalLockSemaphore = -1;
|
||||
AcpiGbl_GlobalLockMutex = NULL;
|
||||
AcpiGbl_GlobalLockAcquired = FALSE;
|
||||
AcpiGbl_GlobalLockHandle = 0;
|
||||
|
||||
Reference in New Issue
Block a user