[NTOSKRNL]
authorTimo Kreuzer <timo.kreuzer@reactos.org>
Thu, 18 Nov 2010 03:14:47 +0000 (03:14 +0000)
committerTimo Kreuzer <timo.kreuzer@reactos.org>
Thu, 18 Nov 2010 03:14:47 +0000 (03:14 +0000)
Fix a bug.

svn path=/trunk/; revision=49609

reactos/ntoskrnl/ke/i386/thrdini.c

index b90ae66..4f4948c 100644 (file)
@@ -398,7 +398,7 @@ KiSwapContextExit(IN PKTHREAD OldThread,
         if (!NewThread->SpecialApcDisable)
         {
             /* Request APC delivery */
-            if (!SwitchFrame->ApcBypassDisable) HalRequestSoftwareInterrupt(APC_LEVEL);
+            if (SwitchFrame->ApcBypassDisable) HalRequestSoftwareInterrupt(APC_LEVEL);
             return TRUE;
         }
     }