[NTOS:KE]
authorDmitry Chapyshev <dmitry@reactos.org>
Sat, 3 Sep 2016 21:48:21 +0000 (21:48 +0000)
committerDmitry Chapyshev <dmitry@reactos.org>
Sat, 3 Sep 2016 21:48:21 +0000 (21:48 +0000)
- Don't set value for DpcActive in KeInitializeMutant and KeInitializeMutex

* Fixes 55 tests in kmtest:KeMutex

svn path=/trunk/; revision=72555

reactos/ntoskrnl/ke/mutex.c

index 25cd6bc..ef82931 100644 (file)
@@ -51,7 +51,6 @@ KeInitializeMutant(IN PKMUTANT Mutant,
     /* Now we set up the Dispatcher Header */
     Mutant->Header.Type = MutantObject;
     Mutant->Header.Size = sizeof(KMUTANT) / sizeof(ULONG);
-    Mutant->Header.DpcActive = FALSE;
     Mutant->Header.SignalState = InitialOwner ? 0 : 1;
     InitializeListHead(&(Mutant->Header.WaitListHead));
 
@@ -71,7 +70,6 @@ KeInitializeMutex(IN PKMUTEX Mutex,
     /* Set up the Dispatcher Header */
     Mutex->Header.Type = MutantObject;
     Mutex->Header.Size = sizeof(KMUTEX) / sizeof(ULONG);
-    Mutex->Header.DpcActive = FALSE;
     Mutex->Header.SignalState = 1;
     InitializeListHead(&(Mutex->Header.WaitListHead));