mirror of
https://github.com/reactos/reactos.git
synced 2025-08-05 22:52:54 +00:00
[NTOSKRNL]
- Fix return value of KeSynchronizeExecution again... the SynchronizeRoutine also returns BOOLEAN svn path=/trunk/; revision=53417
This commit is contained in:
parent
cda612b67e
commit
0564ac0f79
1 changed files with 3 additions and 3 deletions
|
@ -572,7 +572,7 @@ KeSynchronizeExecution(IN OUT PKINTERRUPT Interrupt,
|
||||||
IN PKSYNCHRONIZE_ROUTINE SynchronizeRoutine,
|
IN PKSYNCHRONIZE_ROUTINE SynchronizeRoutine,
|
||||||
IN PVOID SynchronizeContext OPTIONAL)
|
IN PVOID SynchronizeContext OPTIONAL)
|
||||||
{
|
{
|
||||||
NTSTATUS Status;
|
BOOLEAN Success;
|
||||||
KIRQL OldIrql;
|
KIRQL OldIrql;
|
||||||
|
|
||||||
/* Raise IRQL */
|
/* Raise IRQL */
|
||||||
|
@ -582,7 +582,7 @@ KeSynchronizeExecution(IN OUT PKINTERRUPT Interrupt,
|
||||||
KeAcquireSpinLockAtDpcLevel(Interrupt->ActualLock);
|
KeAcquireSpinLockAtDpcLevel(Interrupt->ActualLock);
|
||||||
|
|
||||||
/* Call the routine */
|
/* Call the routine */
|
||||||
Status = SynchronizeRoutine(SynchronizeContext);
|
Success = SynchronizeRoutine(SynchronizeContext);
|
||||||
|
|
||||||
/* Release lock */
|
/* Release lock */
|
||||||
KeReleaseSpinLockFromDpcLevel(Interrupt->ActualLock);
|
KeReleaseSpinLockFromDpcLevel(Interrupt->ActualLock);
|
||||||
|
@ -591,7 +591,7 @@ KeSynchronizeExecution(IN OUT PKINTERRUPT Interrupt,
|
||||||
KfLowerIrql(OldIrql);
|
KfLowerIrql(OldIrql);
|
||||||
|
|
||||||
/* Return status */
|
/* Return status */
|
||||||
return NT_SUCCESS(Status);
|
return Success;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* EOF */
|
/* EOF */
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue