- Don't acquire the mutex in the ISR handler because we're at a raised IRQL

- Fixes VirtualBox Additions with ACPI enabled

svn path=/trunk/; revision=46239
This commit is contained in:
Cameron Gutman 2010-03-17 06:19:01 +00:00
parent e77675a0a9
commit fa481444a7

View file

@ -505,7 +505,7 @@ AcpiEvGpeDetect (
UINT8 EnabledStatusByte; UINT8 EnabledStatusByte;
UINT32 StatusReg; UINT32 StatusReg;
UINT32 EnableReg; UINT32 EnableReg;
ACPI_CPU_FLAGS Flags; //ACPI_CPU_FLAGS Flags;
UINT32 i; UINT32 i;
UINT32 j; UINT32 j;
@ -524,7 +524,7 @@ AcpiEvGpeDetect (
* Note: Not necessary to obtain the hardware lock, since the GPE * Note: Not necessary to obtain the hardware lock, since the GPE
* registers are owned by the GpeLock. * registers are owned by the GpeLock.
*/ */
Flags = AcpiOsAcquireLock (AcpiGbl_GpeLock); //Flags = AcpiOsAcquireLock (AcpiGbl_GpeLock);
/* Examine all GPE blocks attached to this interrupt level */ /* Examine all GPE blocks attached to this interrupt level */
@ -596,7 +596,7 @@ AcpiEvGpeDetect (
UnlockAndExit: UnlockAndExit:
AcpiOsReleaseLock (AcpiGbl_GpeLock, Flags); //AcpiOsReleaseLock (AcpiGbl_GpeLock, Flags);
return (IntStatus); return (IntStatus);
} }