https://git.reactos.org/?p=reactos.git;a=commitdiff;h=d8d46a00c37b7d46484e7947f67e0d9a7f984c4b
commit d8d46a00c37b7d46484e7947f67e0d9a7f984c4b Author: Timo Kreuzer <timo.kreu...@reactos.org> AuthorDate: Thu Nov 30 14:04:21 2023 +0200 Commit: Timo Kreuzer <timo.kreu...@reactos.org> CommitDate: Fri Dec 8 19:28:57 2023 +0200 [HALX86] Use InterlockedBitTestAndSetAffinity instead of InterlockedBitTestAndSet --- hal/halx86/generic/halinit.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/hal/halx86/generic/halinit.c b/hal/halx86/generic/halinit.c index bbd3c49204e..70822fd5cc5 100644 --- a/hal/halx86/generic/halinit.c +++ b/hal/halx86/generic/halinit.c @@ -54,9 +54,8 @@ HalInitializeProcessor( KeGetPcr()->StallScaleFactor = INITIAL_STALL_COUNT; /* Update the interrupt affinity and processor mask */ - InterlockedBitTestAndSet((PLONG)&HalpActiveProcessors, ProcessorNumber); - InterlockedBitTestAndSet((PLONG)&HalpDefaultInterruptAffinity, - ProcessorNumber); + InterlockedBitTestAndSetAffinity(&HalpActiveProcessors, ProcessorNumber); + InterlockedBitTestAndSetAffinity(&HalpDefaultInterruptAffinity, ProcessorNumber); /* Register routines for KDCOM */ HalpRegisterKdSupportFunctions();