Author: jgardou
Date: Sun Jun 19 13:59:33 2011
New Revision: 52367
URL:
http://svn.reactos.org/svn/reactos?rev=52367&view=rev
Log:
[NOTSKRNL]
- Addendum to 52366: get back old code, thanks to Alex
Modified:
trunk/reactos/ntoskrnl/ke/i386/traphdlr.c
Modified: trunk/reactos/ntoskrnl/ke/i386/traphdlr.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/ntoskrnl/ke/i386/traphdlr.…
==============================================================================
--- trunk/reactos/ntoskrnl/ke/i386/traphdlr.c [iso-8859-1] (original)
+++ trunk/reactos/ntoskrnl/ke/i386/traphdlr.c [iso-8859-1] Sun Jun 19 13:59:33 2011
@@ -1510,7 +1510,7 @@
/* Set thread fields */
Thread->TrapFrame = TrapFrame;
- Thread->PreviousMode = KiUserTrap(TrapFrame) ? UserMode : KernelMode;
+ Thread->PreviousMode = KiUserTrap(TrapFrame);
/* Enable interrupts */
_enable();