mirror of
https://github.com/reactos/reactos.git
synced 2025-05-31 23:18:39 +00:00
[NTOS] Increment ActiveProcessors accurately
This commit is contained in:
parent
fbd033df0a
commit
2a33aed7cf
1 changed files with 1 additions and 1 deletions
|
@ -547,7 +547,7 @@ KiInitializeKernel(IN PKPROCESS InitProcess,
|
||||||
InitThread->State = Running;
|
InitThread->State = Running;
|
||||||
InitThread->Affinity = 1 << Number;
|
InitThread->Affinity = 1 << Number;
|
||||||
InitThread->WaitIrql = DISPATCH_LEVEL;
|
InitThread->WaitIrql = DISPATCH_LEVEL;
|
||||||
InitProcess->ActiveProcessors = 1 << Number;
|
InitProcess->ActiveProcessors |= 1 << Number;
|
||||||
|
|
||||||
/* HACK for MmUpdatePageDir */
|
/* HACK for MmUpdatePageDir */
|
||||||
((PETHREAD)InitThread)->ThreadsProcess = (PEPROCESS)InitProcess;
|
((PETHREAD)InitThread)->ThreadsProcess = (PEPROCESS)InitProcess;
|
||||||
|
|
Loading…
Reference in a new issue