Author: ion
Date: Sun Feb 19 00:08:50 2012
New Revision: 55690
URL:
http://svn.reactos.org/svn/reactos?rev=55690&view=rev
Log:
[NTOSKRNL]: When you rewrite my ASM code, get it right, dumbasses. Thanks Stefan.
Modified:
trunk/reactos/ntoskrnl/include/internal/i386/trap_x.h
Modified: trunk/reactos/ntoskrnl/include/internal/i386/trap_x.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/ntoskrnl/include/internal/…
==============================================================================
--- trunk/reactos/ntoskrnl/include/internal/i386/trap_x.h [iso-8859-1] (original)
+++ trunk/reactos/ntoskrnl/include/internal/i386/trap_x.h [iso-8859-1] Sun Feb 19 00:08:50
2012
@@ -171,7 +171,7 @@
}
/* Make sure we're not attached and that APCs are not disabled */
- if ((KeGetCurrentThread()->ApcStateIndex != CurrentApcEnvironment) ||
+ if ((KeGetCurrentThread()->ApcStateIndex != OriginalApcEnvironment) ||
(KeGetCurrentThread()->CombinedApcDisable != 0))
{
/* Fail */