[NTOSKRNL]
authorThomas Faber <thomas.faber@reactos.org>
Wed, 24 Aug 2011 13:05:22 +0000 (13:05 +0000)
committerThomas Faber <thomas.faber@reactos.org>
Wed, 24 Aug 2011 13:05:22 +0000 (13:05 +0000)
- Fix return value of KeSynchronizeExecution again... the SynchronizeRoutine also returns BOOLEAN

svn path=/trunk/; revision=53417

reactos/ntoskrnl/ke/i386/irqobj.c

index 1970c0d..8f24809 100644 (file)
@@ -572,7 +572,7 @@ KeSynchronizeExecution(IN OUT PKINTERRUPT Interrupt,
                        IN PKSYNCHRONIZE_ROUTINE SynchronizeRoutine,
                        IN PVOID SynchronizeContext OPTIONAL)
 {
-    NTSTATUS Status;
+    BOOLEAN Success;
     KIRQL OldIrql;
     
     /* Raise IRQL */
@@ -582,7 +582,7 @@ KeSynchronizeExecution(IN OUT PKINTERRUPT Interrupt,
     KeAcquireSpinLockAtDpcLevel(Interrupt->ActualLock);
     
     /* Call the routine */
-    Status = SynchronizeRoutine(SynchronizeContext);
+    Success = SynchronizeRoutine(SynchronizeContext);
     
     /* Release lock */
     KeReleaseSpinLockFromDpcLevel(Interrupt->ActualLock);
@@ -591,7 +591,7 @@ KeSynchronizeExecution(IN OUT PKINTERRUPT Interrupt,
     KfLowerIrql(OldIrql);
     
     /* Return status */
-    return NT_SUCCESS(Status);
+    return Success;
 }
 
 /* EOF */