mirror of
https://github.com/reactos/reactos.git
synced 2025-02-24 17:34:57 +00:00
Fix build-2.
svn path=/trunk/; revision=45161
This commit is contained in:
parent
274f2bcdb3
commit
d6fa8735be
1 changed files with 4 additions and 4 deletions
|
@ -23,12 +23,12 @@ KiSwapProcess(IN PKPROCESS NewProcess,
|
||||||
{
|
{
|
||||||
PKIPCR Pcr = (PKIPCR)KeGetPcr();
|
PKIPCR Pcr = (PKIPCR)KeGetPcr();
|
||||||
#ifdef CONFIG_SMP
|
#ifdef CONFIG_SMP
|
||||||
ULONG SetMember;
|
LONG SetMember;
|
||||||
|
|
||||||
/* Update active processor mask */
|
/* Update active processor mask */
|
||||||
SetMember = Pcr->SetMember;
|
SetMember = (LONG)Pcr->SetMember;
|
||||||
InterlockedXor(&NewProcess->ActiveProcessors, SetMember);
|
InterlockedXor((PLONG)&NewProcess->ActiveProcessors, SetMember);
|
||||||
InterlockedXor(&OldProcess->ActiveProcessors, SetMember);
|
InterlockedXor((PLONG)&OldProcess->ActiveProcessors, SetMember);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* Check for new LDT */
|
/* Check for new LDT */
|
||||||
|
|
Loading…
Reference in a new issue