mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 10:04:49 +00:00
[HAL]: HalpActiveProcessors is KAFFINITY, not LONG. Also, MP HAL lacked it.
svn path=/trunk/; revision=46651
This commit is contained in:
parent
a7d94d59ba
commit
87c7a8930b
2 changed files with 4 additions and 2 deletions
|
@ -18,6 +18,8 @@
|
|||
#define NDEBUG
|
||||
#include <debug.h>
|
||||
|
||||
KAFFINITY HalpActiveProcessors;
|
||||
|
||||
/* PRIVATE FUNCTIONS *********************************************************/
|
||||
|
||||
VOID
|
||||
|
|
|
@ -12,7 +12,7 @@
|
|||
#define NDEBUG
|
||||
#include <debug.h>
|
||||
|
||||
LONG HalpActiveProcessors;
|
||||
KAFFINITY HalpActiveProcessors;
|
||||
KAFFINITY HalpDefaultInterruptAffinity;
|
||||
|
||||
/* PRIVATE FUNCTIONS *********************************************************/
|
||||
|
@ -41,7 +41,7 @@ HalInitializeProcessor(IN ULONG ProcessorNumber,
|
|||
KeGetPcr()->StallScaleFactor = INITIAL_STALL_COUNT;
|
||||
|
||||
/* Update the interrupt affinity and processor mask */
|
||||
InterlockedBitTestAndSet(&HalpActiveProcessors, ProcessorNumber);
|
||||
InterlockedBitTestAndSet((PLONG)&HalpActiveProcessors, ProcessorNumber);
|
||||
InterlockedBitTestAndSet((PLONG)&HalpDefaultInterruptAffinity,
|
||||
ProcessorNumber);
|
||||
|
||||
|
|
Loading…
Reference in a new issue