mirror of
https://github.com/reactos/reactos.git
synced 2024-12-26 00:54:40 +00:00
[NTOS:KE/i386] KeStartAllProcessors(): ProcessorCount is a ULONG (#7455)
Let's be explicit.
Addendum to 516ccad
(0.4.15-dev-7016).
This commit is contained in:
parent
5d361b602d
commit
4c84e191fd
1 changed files with 3 additions and 3 deletions
|
@ -38,7 +38,7 @@ NTAPI
|
|||
KeStartAllProcessors(VOID)
|
||||
{
|
||||
PVOID KernelStack, DPCStack;
|
||||
SIZE_T ProcessorCount = 0;
|
||||
ULONG ProcessorCount = 0;
|
||||
PAPINFO APInfo;
|
||||
|
||||
while (TRUE)
|
||||
|
@ -127,7 +127,7 @@ KeStartAllProcessors(VOID)
|
|||
KeLoaderBlock->Thread = (ULONG_PTR)&APInfo->Pcr.Prcb->IdleThread;
|
||||
|
||||
// Start the CPU
|
||||
DPRINT("Attempting to Start a CPU with number: %u\n", ProcessorCount);
|
||||
DPRINT("Attempting to Start a CPU with number: %lu\n", ProcessorCount);
|
||||
if (!HalStartNextProcessor(KeLoaderBlock, ProcessorState))
|
||||
{
|
||||
break;
|
||||
|
@ -152,5 +152,5 @@ KeStartAllProcessors(VOID)
|
|||
if (DPCStack)
|
||||
MmDeleteKernelStack(DPCStack, FALSE);
|
||||
|
||||
DPRINT1("KeStartAllProcessors: Successful AP startup count is %u\n", ProcessorCount);
|
||||
DPRINT1("KeStartAllProcessors: Successful AP startup count is %lu\n", ProcessorCount);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue