Author: dgorbachev
Date: Wed Jan 20 11:59:39 2010
New Revision: 45161
URL:
http://svn.reactos.org/svn/reactos?rev=45161&view=rev
Log:
Fix build-2.
Modified:
trunk/reactos/ntoskrnl/ke/i386/context.c
Modified: trunk/reactos/ntoskrnl/ke/i386/context.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/ntoskrnl/ke/i386/context.c…
==============================================================================
--- trunk/reactos/ntoskrnl/ke/i386/context.c [iso-8859-1] (original)
+++ trunk/reactos/ntoskrnl/ke/i386/context.c [iso-8859-1] Wed Jan 20 11:59:39 2010
@@ -23,12 +23,12 @@
{
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 */