[NTOSKRNL]
authorCameron Gutman <aicommander@gmail.com>
Mon, 3 May 2010 22:03:15 +0000 (22:03 +0000)
committerCameron Gutman <aicommander@gmail.com>
Mon, 3 May 2010 22:03:15 +0000 (22:03 +0000)
- Fix a typo that results in ISRs being called at an unsafe IRQL (Interrupt->Irql instead of Interrupt->SynchronizeIrql) in certain situations (when Interrupt->Irql < Interrupt->SynchronizeIrql) that can result in ISR synchronization issues

svn path=/trunk/; revision=47098

reactos/ntoskrnl/ke/i386/irqobj.c

index 1017013..fca5bdc 100644 (file)
@@ -251,7 +251,7 @@ KiChainedDispatch(IN PKTRAP_FRAME TrapFrame,
             if (Interrupt->SynchronizeIrql > Interrupt->Irql)
             {
                 /* Raise to higher IRQL */
-                OldIrql = KfRaiseIrql(Interrupt->Irql);
+                OldIrql = KfRaiseIrql(Interrupt->SynchronizeIrql);
             }
         
             /* Acquire interrupt lock */