[NTOS:KE]
authorThomas Faber <thomas.faber@reactos.org>
Sun, 4 May 2014 08:42:02 +0000 (08:42 +0000)
committerThomas Faber <thomas.faber@reactos.org>
Sun, 4 May 2014 08:42:02 +0000 (08:42 +0000)
- Unconditionally perform APC and IRQL checks on user call exit

svn path=/trunk/; revision=63143

reactos/ntoskrnl/include/internal/i386/trap_x.h

index 86f7c77..99e7cba 100644 (file)
@@ -180,6 +180,11 @@ KiExitTrapDebugChecks(IN PKTRAP_FRAME TrapFrame,
     StopChecking = FALSE;
 }
 
+#else
+#define KiExitTrapDebugChecks(x, y)
+#define KiFillTrapFrameDebug(x)
+#endif
+
 FORCEINLINE
 VOID
 KiExitSystemCallDebugChecks(IN ULONG SystemCall,
@@ -219,11 +224,6 @@ KiExitSystemCallDebugChecks(IN ULONG SystemCall,
         }
     }
 }
-#else
-#define KiExitTrapDebugChecks(x, y)
-#define KiFillTrapFrameDebug(x)
-#define KiExitSystemCallDebugChecks(x, y)
-#endif
 
 //
 // Generic Exit Routine