mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 01:55:19 +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->Affinity = 1 << Number;
|
||||
InitThread->WaitIrql = DISPATCH_LEVEL;
|
||||
InitProcess->ActiveProcessors = 1 << Number;
|
||||
InitProcess->ActiveProcessors |= 1 << Number;
|
||||
|
||||
/* HACK for MmUpdatePageDir */
|
||||
((PETHREAD)InitThread)->ThreadsProcess = (PEPROCESS)InitProcess;
|
||||
|
|
Loading…
Reference in a new issue