mirror of
https://github.com/reactos/reactos.git
synced 2026-05-30 23:33:24 +08:00
[NTOS] Increment ActiveProcessors accurately
This commit is contained in:
committed by
George Bișoc
parent
fbd033df0a
commit
2a33aed7cf
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user