[NTOS:KE]

- Don't set value for DpcActive in KeInitializeMutant and KeInitializeMutex

* Fixes 55 tests in kmtest:KeMutex

svn path=/trunk/; revision=72555
This commit is contained in:
Dmitry Chapyshev 2016-09-03 21:48:21 +00:00
parent 8612af94d2
commit 2e18ad193c

View 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));