Save the old irql in ExTryToAcquireFastMutex.
[reactos.git] / reactos / hal / halx86 / generic / fmutex.c
index 77da8d8..2ada2b4 100644 (file)
@@ -84,6 +84,7 @@ ExTryToAcquireFastMutex(PFAST_MUTEX FastMutex)
     {
         /* We have, set us as owners */
         FastMutex->Owner = KeGetCurrentThread();
+        FastMutex->OldIrql = OldIrql;
         return TRUE;
     }
     else