Fix build-2.

svn path=/trunk/; revision=45161
This commit is contained in:
Dmitry Gorbachev 2010-01-20 10:59:39 +00:00
parent 274f2bcdb3
commit d6fa8735be

View file

@ -23,12 +23,12 @@ KiSwapProcess(IN PKPROCESS NewProcess,
{
PKIPCR Pcr = (PKIPCR)KeGetPcr();
#ifdef CONFIG_SMP
ULONG SetMember;
LONG SetMember;
/* Update active processor mask */
SetMember = Pcr->SetMember;
InterlockedXor(&NewProcess->ActiveProcessors, SetMember);
InterlockedXor(&OldProcess->ActiveProcessors, SetMember);
SetMember = (LONG)Pcr->SetMember;
InterlockedXor((PLONG)&NewProcess->ActiveProcessors, SetMember);
InterlockedXor((PLONG)&OldProcess->ActiveProcessors, SetMember);
#endif
/* Check for new LDT */